revert [6857] for rules.mk; make cannot parse dependancies properly
SVN-Revision: 6860
This commit is contained in:
parent
8101912ed6
commit
9f142dcc0d
1 changed files with 11 additions and 3 deletions
14
rules.mk
14
rules.mk
|
@ -135,12 +135,20 @@ endef
|
||||||
# Parameters:
|
# Parameters:
|
||||||
# 1: dependencies for the prepare step
|
# 1: dependencies for the prepare step
|
||||||
define default_subtargets
|
define default_subtargets
|
||||||
%-download %-prepare %-compile %-install %-clean: FORCE
|
%-download: FORCE
|
||||||
$$(MAKE) -C $$* $$(patsubst $$*-%,%,$$@)
|
$$(MAKE) -C $$(patsubst %-download,%,$$@) download
|
||||||
|
|
||||||
|
%-prepare: $(1) FORCE
|
||||||
|
$$(MAKE) -C $$(patsubst %-prepare,%,$$@) prepare
|
||||||
|
|
||||||
%-compile: %-prepare
|
%-compile: %-prepare
|
||||||
|
$$(MAKE) -C $$(patsubst %-compile,%,$$@) compile
|
||||||
|
|
||||||
%-install: %-compile
|
%-install: %-compile
|
||||||
.SILENT: %-clean
|
$$(MAKE) -C $$(patsubst %-install,%,$$@) install
|
||||||
|
|
||||||
|
%-clean: FORCE
|
||||||
|
@$$(MAKE) -C $$(patsubst %-clean,%,$$@) clean
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue