From 7d65acce058a99a8b33d6d2870ac8bbb939827d8 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Sun, 5 Dec 2021 22:55:51 +0100 Subject: fix make -j4 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a58a9cf..9f34f8a 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ EXEC=01 02 03 04 05 all: $(EXEC) +.c.o: + $(CC) -o $@ -c $< $(CFLAGS) + 01: input.o 01.o $(CC) -o $@ $> $(LDFLAGS) @@ -20,8 +23,5 @@ all: $(EXEC) 05: input.o 05.o $(CC) -o $@ $> $(LDFLAGS) -.c.o: - $(CC) -o $@ -c $< $(CFLAGS) - clean: rm -rf *.o $(EXEC) -- cgit v1.2.3