From be3abab7de115e3093a2d085275d0f8d8b1ba42d Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Fri, 2 Dec 2022 17:52:41 +0100 Subject: day 2 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3