summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2021-12-05 21:28:14 +0100
committerVincent Douillet <vincent@vdouillet.fr>2021-12-05 22:40:02 +0100
commit4c42453d856053bb49affef7c165397e5c16d9eb (patch)
tree75c9cbd2aea8a39841de37ae636408b7dd428326 /Makefile
parent8dafc5f3d72d9670dea971174d66a5ae006900b7 (diff)
day 5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3be3369..a58a9cf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=cc
CFLAGS=-std=c1x -W -Wall -g
LDFLAGS=
-EXEC=01 02 03 04
+EXEC=01 02 03 04 05
all: $(EXEC)
@@ -17,6 +17,9 @@ all: $(EXEC)
04: input.o 04.o
$(CC) -o $@ $> $(LDFLAGS)
+05: input.o 05.o
+ $(CC) -o $@ $> $(LDFLAGS)
+
.c.o:
$(CC) -o $@ -c $< $(CFLAGS)