aoc

My solutions for the Advent of Code
git clone https://git.tronto.net/aoc
Download | Log | Files | Refs | README

Makefile (239B)


      1 CC=g++ -std=c++20 -g -Wall
      2 
      3 a:
      4 	${CC} -o a.out day15a.cpp
      5 
      6 b:
      7 	${CC} -o b.out day15b.cpp
      8 
      9 clean:
     10 	rm -f a b
     11 
     12 atest: a
     13 	./a.out
     14 
     15 btest: b
     16 	./b.out
     17 
     18 arun: a
     19 	./a.out < input
     20 
     21 brun: b
     22 	./b.out < input
     23 
     24 .PHONY: a b clean atest btest arun brun