Revision 410
Added by Aaron Marcuse-Kubitza about 13 years ago
inputs/Makefile | ||
---|---|---|
1 |
# Make |
|
2 |
subMake = $(MAKE) $(@F) --directory=$(@D) |
|
3 |
|
|
4 |
##### |
|
5 |
|
|
6 |
all: |
|
7 |
|
|
8 |
.SUFFIXES: |
|
9 |
|
|
10 |
_always: |
|
11 |
.PHONY: _always |
|
12 |
|
|
13 |
define subdirTargets |
|
14 |
$(subdir): _always |
|
15 |
+$$(subMake) |
|
16 |
|
|
17 |
$(subdir)%: _always |
|
18 |
+$$(subMake) |
|
19 |
endef |
|
20 |
$(foreach subdir,$(wildcard */),$(eval $(subdirTargets))) |
|
21 |
|
|
22 |
%: $(addsuffix %,$(dir $(shell echo */Makefile))) _always ; |
Also available in: Unified diff
Added inputs/Makefile to run input targets recursively on each input