Makefile (463B)
1 .PHONY: all clean install deploy install 2 3 include config.mk 4 5 all: 6 @for dir in $(SUBDIRS); do \ 7 echo "Building in $$dir..."; \ 8 $(MAKE) -C $$dir; \ 9 done 10 11 install: 12 @for dir in $(SUBDIRS); do \ 13 echo "installing $$dir..."; \ 14 $(MAKE) -C $$dir install; \ 15 done 16 17 clean: 18 @for dir in $(SUBDIRS); do \ 19 echo "Cleaning in $$dir..."; \ 20 $(MAKE) -C $$dir clean; \ 21 done 22 23 deploy: 24 @echo "Running deploy script..." 25 @$(DEPLOY_SCRIPT) 26