From f3e3e3e354b87f4ce27bd74bf14cec05d06974b6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 30 Nov 2022 12:23:17 +0100 Subject: Lots of cleanup and stuff --- 2015/04/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to '2015/04/Makefile') diff --git a/2015/04/Makefile b/2015/04/Makefile index 10ec8f9..039d3f7 100644 --- a/2015/04/Makefile +++ b/2015/04/Makefile @@ -1,7 +1,4 @@ -all: - ${CC} ${CFLAGS} -lmd -DINPUT=\"$$(cat input)\" -o puzzle-1 puzzles.c - ${CC} ${CFLAGS} -lmd -DINPUT=\"$$(cat input)\" -DPART2 -o puzzle-2 puzzles.c +CPPFLAGS = -DINPUT=\"$$(cat input)\" +LDLIBS = -lmd -.PHONY: clean -clean: - rm -f puzzle-[12] +include ../../Makefiles/c.mk -- cgit v1.2.3