diff options
-rw-r--r-- | subdirs.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,11 +1,14 @@ # -*- make -*- export dir_symbol += - + +nullstring := +space := $(nullstring) # keep it to assign space + subdirs: $(SUBDIRS) $(SUBDIRS): - echo $(dir_symbol) '>' $@ $(MAKECMDGOALS) - # echo $(MAKE) -C $@ $(MAKECMDGOALS) + echo $(subst $(space),,$(dir_symbol))'|' $@ $(MAKECMDGOALS) $(MAKE) -C $@ $(MAKECMDGOALS) .PHONY: $(SUBDIRS) |