about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-12-01 22:44:18 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-12-02 16:30:38 +0100
commitd404b01804da59772916bbfe59f21fdc8beb6443 (patch)
tree30e2db92a258944ea0e19815547a60c6846b4b66 /Makefile
parent3823320c9ca15ddb7eddbac9f930690d6d05e361 (diff)
downloadadventofcode2022-d404b01804da59772916bbfe59f21fdc8beb6443.tar.gz
adventofcode2022-d404b01804da59772916bbfe59f21fdc8beb6443.tar.xz
adventofcode2022-d404b01804da59772916bbfe59f21fdc8beb6443.zip
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..69e99bf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+all: $(patsubst %.zig,%.exe,$(wildcard *.zig))
+
+day%.exe: day%.zig day%
+	zig build-exe -O ReleaseSafe $< --name $@
+
+clean: FRC
+	rm -f *.exe
+
+FRC: