My solutions to the advent of code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
315 B

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)