summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-11-08 23:16:39 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2021-11-08 23:16:39 +0100
commit3793e41b439146b3beecb27ce0e84fe02e849f44 (patch)
tree6596b02fbf4cfcd08c10621c136004825fdc190b /Makefile
parentkemija, korenski Makefile nepreverjen (diff)
downloadsola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar.gz
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar.bz2
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar.lz
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar.xz
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.tar.zst
sola-gimb-3-3793e41b439146b3beecb27ce0e84fe02e849f44.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6121614..0dfb3ff 100644
--- a/Makefile
+++ b/Makefile
@@ -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