comp30002-project-2/justfile
2025-10-07 19:39:22 +11:00

15 lines
251 B
Makefile

exec := "musician"
target := "target"
# list all commands
default:
@just --list
# build musician
build:
mkdir -p {{target}}
ghc -O2 -odir {{target}} -hidir {{target}} -o {{target}}/{{exec}} *.hs
# run musician
run:
time ./target/{{exec}}