First commit - second part
Former-commit-id: 202296404e6a70f8ae96db99faffb456104c57e9 Former-commit-id: 118417735d2055683607df9809c9b721cc1b1bab
This commit is contained in:
30
config/targets/propagate.targ
Normal file
30
config/targets/propagate.targ
Normal file
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# $Id: propagate.targ 1825 2013-02-26 09:39:47Z viari $
|
||||
#
|
||||
# propagate.targ
|
||||
#
|
||||
# default make targets for library containers
|
||||
#
|
||||
# you should define the 'DIRS' variable
|
||||
#
|
||||
# It will propagate 'MAKE <target>' to all
|
||||
# directories listed in DIRS
|
||||
#
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
|
||||
.PHONY: all _action $(DIRS)
|
||||
|
||||
.DEFAULT:
|
||||
$(MAKE) ACTION=$@ _action
|
||||
|
||||
all::
|
||||
$(MAKE) ACTION=all _action
|
||||
|
||||
_action: $(DIRS)
|
||||
@echo "$(ACTION) done"
|
||||
|
||||
$(DIRS):
|
||||
$(MAKE) -C $@ $(ACTION)
|
Reference in New Issue
Block a user