Revision 11253
Added by Aaron Marcuse-Kubitza about 11 years ago
common.Makefile | ||
---|---|---|
18 | 18 |
pathParts = $(shell path="$(1)"; echo "$${path%%/*}" "$${path\#*/}") |
19 | 19 |
topDir = $(word 1,$(pathParts)) |
20 | 20 |
subPath = $(word 2,$(pathParts)) |
21 |
subMake = $(MAKE) $(call subPath,$@) --directory=$(call topDir,$@)
|
|
21 |
subMake = $(MAKE) "$(call subPath,$@)" --directory=$(call topDir,$@)
|
|
22 | 22 |
# input.Makefile path is relative to subdir |
23 | 23 |
|
24 | 24 |
# Formatting |
Also available in: Unified diff
bugfix: *Makefile: recursive invocation of $(MAKE): enclose targets in "" in case they contain *