Revision 11266
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: lib/common.Makefile: $(subMake): don't enclose the target in "" because sometimes the target is empty (i.e. `all`), and nothing should be passed to the sub-make