diff options
| author | Yigit Sever | 2021-12-01 13:53:26 +0300 |
|---|---|---|
| committer | Yigit Sever | 2021-12-01 13:53:26 +0300 |
| commit | c83970e459635609f7b4520f4f73db8f70c973f8 (patch) | |
| tree | 5232ccc1d0e015695e7ce8e694d33985f4c76b21 /2021/day1/Makefile | |
| download | aoc-c83970e459635609f7b4520f4f73db8f70c973f8.tar.gz aoc-c83970e459635609f7b4520f4f73db8f70c973f8.tar.bz2 aoc-c83970e459635609f7b4520f4f73db8f70c973f8.zip | |
2021, day1: done
Diffstat (limited to '2021/day1/Makefile')
| -rw-r--r-- | 2021/day1/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
| 1 | src = $(wildcard *.c) | ||
| 2 | obj = $(src:.c=.o) | ||
| 3 | |||
| 4 | LDFLAGS = -Wall -g | ||
| 5 | |||
| 6 | depth: $(obj) | ||
| 7 | $(CC) -o $@ $^ $(LDFLAGS) | ||
| 8 | |||
| 9 | .PHONY: clean | ||
| 10 | clean: | ||
| 11 | rm -f $(obj) depth | ||
