From ce9b9c411bd6c36d80fe6dd8112c8188661e2844 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 6 Dec 2021 20:36:43 +0300 Subject: 2021, day2: start --- 2021/day2/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2021/day2/Makefile (limited to '2021/day2/Makefile') diff --git a/2021/day2/Makefile b/2021/day2/Makefile new file mode 100644 index 0000000..6718c4c --- /dev/null +++ b/2021/day2/Makefile @@ -0,0 +1,11 @@ +src = $(wildcard *.c) +obj = $(src:.c=.o) + +LDFLAGS = -Wall -g + +pilot: $(obj) + $(CC) -o $@ $^ $(LDFLAGS) + +.PHONY: clean +clean: + rm -f $(obj) pilot -- cgit v1.2.3-70-g09d2