16 lines
408 B
Makefile
16 lines
408 B
Makefile
set windows-shell := ["cmd.exe", "/c"]
|
|
#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
|
|
#2022 day 3 ~ both parts
|
|
y22-d3:
|
|
g++ -o ./2022/day-3 ./2022/day-3.cpp && ./2022/day-3
|