summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-12-04 16:47:21 +0000
committerAdam Spragg <adam@spra.gg>2022-12-04 16:47:21 +0000
commite0c2037ee5cede636e907e8af462371ee0e775db (patch)
treea2546a2e5cafe43ef67737d774e7ad0fd8d1d781 /makefile
Advent of code 2022 problems 1-4
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..6b7b00a
--- /dev/null
+++ b/makefile
@@ -0,0 +1,10 @@
+
+CFLAGS=-Wall
+
+all: bin/1a bin/1b \
+ bin/2a bin/2b \
+ bin/3a bin/3b \
+ bin/4a bin/4b \
+
+bin/%: %.c
+ $(CC) $(CFLAGS) -o $@ $<