summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subdirs.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/subdirs.mk b/subdirs.mk
index fb32315..a39b038 100644
--- a/subdirs.mk
+++ b/subdirs.mk
@@ -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)