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