aoc/justfile

12 lines
279 B
Makefile

#list all options
default:
just --list
#list total lines of c++ code
lines:
wc -l */*.cpp
#2022 day 1 ~ both parts
y22-d1:
g++ -o ./2022/day-1 ./2022/day-1.cpp && ./2022/day-1
#2022 day 2 ~ both parts
y22-d2:
g++ -o ./2022/day-2 ./2022/day-2.cpp && ./2022/day-2