This commit is contained in:
Jonathan Hodgson 2021-12-13 00:42:36 +00:00
parent d0135de39a
commit 73ddcce4ae
7 changed files with 405 additions and 0 deletions

16
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)