aoc2022/Makefile
2022-12-10 07:11:23 +01:00

11 lines
236 B
Makefile

# this seems to break day7 for some absolutely bizarre reason
MMCFLAGS := # -s asm_fast.par.gc.stseg
all: aoc
aoc: $(wildcard *.m)
nix shell nixpkgs#mercury -c mmc $(MMCFLAGS) --make aoc
clean:
rm -rf Mercury
rm -f *.mh *.err aoc