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