summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2021-12-03 14:09:39 +0100
committerVincent Douillet <vincent@vdouillet.fr>2021-12-03 14:09:39 +0100
commit04e79fa276ae1c3620868d85941b2c7b7c11222a (patch)
tree573b20f62b00a468bc7101e59caeb76b51989ea6 /Makefile
parentc851f16d1df21d7579af72d842521b951261b092 (diff)
day 3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a2b7e9..baca8e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=cc
CFLAGS=-std=c1x -W -Wall -g
LDFLAGS=
-EXEC=011 012 021 022
+EXEC=011 012 021 022 03
all: $(EXEC)
@@ -17,6 +17,9 @@ all: $(EXEC)
022: input.o 022.o
$(CC) -o $@ $> $(LDFLAGS)
+03: input.o 03.o
+ $(CC) -o $@ $> $(LDFLAGS)
+
.c.o:
$(CC) -o $@ -c $< $(CFLAGS)