From c83970e459635609f7b4520f4f73db8f70c973f8 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 1 Dec 2021 13:53:26 +0300 Subject: 2021, day1: done --- 2021/day1/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2021/day1/Makefile (limited to '2021/day1/Makefile') diff --git a/2021/day1/Makefile b/2021/day1/Makefile new file mode 100644 index 0000000..0255573 --- /dev/null +++ b/2021/day1/Makefile @@ -0,0 +1,11 @@ +src = $(wildcard *.c) +obj = $(src:.c=.o) + +LDFLAGS = -Wall -g + +depth: $(obj) + $(CC) -o $@ $^ $(LDFLAGS) + +.PHONY: clean +clean: + rm -f $(obj) depth -- cgit v1.2.3-70-g09d2