diff options
author | Yigit Sever | 2021-12-06 20:36:43 +0300 |
---|---|---|
committer | Yigit Sever | 2021-12-06 20:36:43 +0300 |
commit | ce9b9c411bd6c36d80fe6dd8112c8188661e2844 (patch) | |
tree | 07b3b56fb538246c411803adb5f922e91bbecaf0 /2021/day2/Makefile | |
parent | 9324fbc1cfd397d803a255c958d51d258bd4aa7c (diff) | |
download | aoc-ce9b9c411bd6c36d80fe6dd8112c8188661e2844.tar.gz aoc-ce9b9c411bd6c36d80fe6dd8112c8188661e2844.tar.bz2 aoc-ce9b9c411bd6c36d80fe6dd8112c8188661e2844.zip |
2021, day2: start
Diffstat (limited to '2021/day2/Makefile')
-rw-r--r-- | 2021/day2/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
1 | src = $(wildcard *.c) | ||
2 | obj = $(src:.c=.o) | ||
3 | |||
4 | LDFLAGS = -Wall -g | ||
5 | |||
6 | pilot: $(obj) | ||
7 | $(CC) -o $@ $^ $(LDFLAGS) | ||
8 | |||
9 | .PHONY: clean | ||
10 | clean: | ||
11 | rm -f $(obj) pilot | ||