X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Makefile;fp=Makefile;h=a85cff82c3145f82bea548df573d33ccb2d44bbf;hb=46be632798ce01a88e99099a3eb8789bad087b18;hp=0000000000000000000000000000000000000000;hpb=c2ea50bfc34d91da768690e945ebbd3f8b6a69d3;p=autobuild.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a85cff8 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +SOURCES = \ + src/preamble.bash \ + lib/detectNumCPUs.bash \ + lib/run.bash \ + lib/setPath.bash \ + src/functions.bash \ + src/resource.bash \ + src/main.bash \ + $(NULL) + +all: Build + +clean: + rm -f Build Build.tmp + +Build: $(SOURCES) + rm -f $@.tmp + for i in $(SOURCES); do \ + cat $$i >> $@.tmp; \ + echo >> $@.tmp; \ + done + head -q -n -1 $@.tmp > $@ + rm -f $@.tmp + +.PHONY: all clean \ No newline at end of file