Makefiles/Makefile.wholepackage
raw| 1 | SUBDIRS = $(sort $(dir $(wildcard */))) |
| 2 | |
| 3 | SUBDIRS_NO_STATGEN = $(filter-out libStatGen/,$(SUBDIRS)) |
| 4 | |
| 5 | MAKEFILES_PATH := libStatGen/Makefiles/ |
| 6 | include $(MAKEFILES_PATH)Makefile.include |
| 7 | |
| 8 | # Build in all subdirectories. |
| 9 | |
| 10 | |
| 11 | .PHONY: $(SUBDIRS) |
| 12 | |
| 13 | include $(MAKEFILES_PATH)Makefile.help |
| 14 | |
| 15 | $(SUBDIRS): |
| 16 | @$(MAKE) -C $@ $(MAKECMDGOALS) |
| 17 | |
| 18 | $(SUBDIRS_NO_STATGEN): libStatGen/ |
| 19 | |
| 20 | %: $(SUBDIRS) ; |
| 21 | |
| 22 | Makefile.%: ; |
| 23 | |
| 24 | Makefile: ; |
| 25 | SUBDIRS = $(sort $(dir $(wildcard */))) |