summaryrefslogtreecommitdiff
path: root/Rules.top
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.top')
-rw-r--r--Rules.top16
1 files changed, 16 insertions, 0 deletions
diff --git a/Rules.top b/Rules.top
new file mode 100644
index 0000000..c475b19
--- /dev/null
+++ b/Rules.top
@@ -0,0 +1,16 @@
+
+SUBDIRS = stm32
+
+
+
+.PHONY : tar tar-%
+# To get ID from a tar archive just run:
+# zcat nonrec-make.tgz | git get-tar-commit-id
+tar : tar-HEAD
+tar-% :
+ commit=$(subst tar-,,$@);\
+ tarname=z180-stamp-$$(git describe --tags $$commit).tgz;\
+ echo Archiving $$commit to $$tarname;\
+ git archive $$commit mk | gzip > $$tarname
+
+# vim: set ft=make :