summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2022-12-02 17:52:41 +0100
committerVincent Douillet <vincent@vdouillet.fr>2022-12-02 17:52:41 +0100
commitbe3abab7de115e3093a2d085275d0f8d8b1ba42d (patch)
treed14df0266b2af82f016fc9953d1586f153916b83 /Makefile
parent076d2ca0e0c2f0308373628272a3972241575653 (diff)
day 2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e639fbc..b42f264 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=cc
CFLAGS=-std=c1x -W -Wall -g -D_GNU_SOURCE
LDFLAGS=
-EXEC=01 01bis
+EXEC=01 01bis 02
all: $(EXEC)
@@ -14,5 +14,8 @@ all: $(EXEC)
01bis: input.o 01bis.o
$(CC) -o $@ $^ $(LDFLAGS)
+02: input.o 02.o
+ $(CC) -o $@ $^ $(LDFLAGS)
+
clean:
rm -rf *.o $(EXEC)