From 1c352d8c1dc97c8f6f11b7fbf38c621f53b73620 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sun, 12 Dec 2021 08:42:25 +0100 Subject: day 8 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a2e394d..bc5c865 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC=cc CFLAGS=-std=c1x -W -Wall -g -LDFLAGS= -EXEC=01 02 03 04 05 06 07 +LDFLAGS=-lm +EXEC=01 02 03 04 05 06 07 08 all: $(EXEC) @@ -29,5 +29,8 @@ all: $(EXEC) 07: input.o 07.o $(CC) -o $@ $> $(LDFLAGS) +08: input.o 08.o + $(CC) -o $@ $> $(LDFLAGS) + clean: rm -rf *.o $(EXEC) -- cgit v1.2.3