diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-02-07 16:52:47 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-02-07 16:52:47 -0500 |
commit | 9c38cb4f40a7644322d1624c6f303f04d3a7b826 (patch) | |
tree | 4932a9063f8603149fbeace91ed17bd6619f1732 /subdirs.mk | |
parent | 202d05f3d8eaa756a639330947231bd686378f33 (diff) | |
download | makefile_templates-9c38cb4f40a7644322d1624c6f303f04d3a7b826.tar.gz makefile_templates-9c38cb4f40a7644322d1624c6f303f04d3a7b826.zip |
cleaner directory output
Diffstat (limited to 'subdirs.mk')
-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) |