Advent-of-Code/day15/Makefile
Jonathan Hodgson dbebb7acf3 Day 15
I expect that if I had more time I could make this a lot better. It
works though which is enough for today
2021-12-15 21:37:35 +00:00

10 lines
206 B
Makefile

solution-part%: solution-part%.c
gcc $< -o $@
test-%: solution-% example.txt
$< example.txt
run-%: solution-% realinput.txt
$< realinput.txt
.PHONY: $(patsubst %,run-%, 1 2) $(patsubst %,test-%, 1 2)