]> gitweb @ CieloNegro.org - autobuild.git/blob - Makefile
bugfix
[autobuild.git] / Makefile
1 SOURCES = \
2         src/preamble.bash \
3         lib/detectNumCPUs.bash \
4         lib/run.bash \
5         lib/setPath.bash \
6         src/functions.bash \
7         src/resource.bash \
8         src/main.bash \
9         $(NULL)
10
11 all: Build
12
13 clean:
14         rm -f Build Build.tmp
15
16 Build: $(SOURCES)
17         rm -f $@.tmp
18         for i in $(SOURCES); do \
19                 cat $$i >> $@.tmp; \
20                 echo >> $@.tmp; \
21         done
22         head -q -n -1 $@.tmp > $@
23         rm -f $@.tmp
24
25 .PHONY: all clean