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.
11 lines
206 B
11 lines
206 B
2 years ago
|
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)
|