Former-commit-id: 202296404e6a70f8ae96db99faffb456104c57e9 Former-commit-id: 118417735d2055683607df9809c9b721cc1b1bab
31 lines
435 B
Plaintext
31 lines
435 B
Plaintext
#
|
|
# $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)
|