diff options
author | Leo C | 2014-04-13 15:29:22 +0200 |
---|---|---|
committer | Leo C | 2014-04-13 15:29:22 +0200 |
commit | 88d31d1177b58a2b2052a837a095b51834a8babf (patch) | |
tree | aeae7c27dd388af93a1fa2be383f1acb149c8fac /Rules.top | |
parent | e64eba003f92992057c5a1c8b5eff902e4ddaaa5 (diff) | |
download | z180-stamp-88d31d1177b58a2b2052a837a095b51834a8babf.zip |
Add non-recursive make system from Andrzej Ostruszka.
Copyright (C) 2012 Andrzej Ostruszka <andrzej.ostruszka@gmail.com>
URL: http://github.com/aostruszka/nonrec-make
Diffstat (limited to 'Rules.top')
-rw-r--r-- | Rules.top | 16 |
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 : |