diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ dirs := $(subst /Makefile,,$(wildcard */Makefile)) +.PHONY: clean default $(dirs) default: $(dirs) -%: +$(dirs): $(MAKE) -C $@ -.PHONY: clean default $(dirs) clean: for dir in $(dirs); do \ - $(MAKE) -C $(CODE_DIR) clean; \ + $(MAKE) -C $$dir clean; \ done |