Move 2021 into folder

This commit is contained in:
Jonathan Hodgson 2022-12-01 08:55:31 +00:00
parent dbebb7acf3
commit dff4b9cc14
84 changed files with 0 additions and 0 deletions

16
2021/day12/Makefile Normal file
View file

@ -0,0 +1,16 @@
solution-part%: solution-part%.c
gcc $< -o $@ -lm
test1-%: solution-% example1.txt
$< example1.txt
test2-%: solution-% example2.txt
$< example2.txt
test3-%: solution-% example3.txt
$< example3.txt
run-%: solution-% realinput.txt
$< realinput.txt
.PHONY: $(patsubst %,run-%, 1 2) $(patsubst %,test-%, 1 2)