Solutions in C to the puzzles of Advent of Code 2019.
make
to build all executablesmake run
to run all solversmake <day>
(e.g.make 1
) to run the program solving the puzzle of the specified daymake test
to run all testsmake time
to run all solvers and print timingsmake clean
to remove all files generated bymake
In addition, debug=1
and/or CC=<compiler>
can be used as arguments
to make
. For example, make clean; make debug=1 CC=clang test
will
run all tests after building all solvers using
clang with additional warnings and flags for
debugging. By default, compilation is done with
gcc.