From 8dafc5f3d72d9670dea971174d66a5ae006900b7 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sat, 4 Dec 2021 18:28:50 +0100 Subject: day 4 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3