# # $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 ' 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)