advent_of_code/2020/Makefile

11 lines
206 B
Makefile
Raw Normal View History

2020-12-01 08:00:04 +00:00
day1.out: out/types.o day1.cpp day1.input
g++ $(flags) day1.cpp out/types.o -o $@
out/types.o: types.hpp types.cpp
mkdir -p out/
g++ $(flags) -c types.cpp -o $@
.PHONY: clean
clean:
rm out/* day*.out