Day 2
This commit is contained in:
parent
f6a7e1dbfe
commit
96e5cf31fa
7 changed files with 1146 additions and 0 deletions
10
day2/Makefile
Normal file
10
day2/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue