aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-03 11:06:28 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-03 11:06:28 +0200
commit49c81f56b9262a41335f36a727c8125e349b1487 (patch)
tree7cbe1696f83f18cec5fe861daa8204767cd5587a /makefile
parent6cda6a35647b5faad8914b66f277e5bf645bbfd2 (diff)
no more duplicate makefiles
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..71eabae
--- /dev/null
+++ b/makefile
@@ -0,0 +1,8 @@
+MK = make -j
+WEKEN = $(wildcard week-*)
+
+all:
+ $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK);)
+
+clean:
+ $(foreach WEEK,$(WEKEN), $(MK) -C $(WEEK) clean;)