aoc2022/Makefile

12 lines
231 B
Makefile
Raw Normal View History

2022-12-13 02:28:17 -05:00
MMCFLAGS := --infer-all --no-inform-inferred --warn-unused-imports \
-s asm_fast.par.gc.stseg
2022-12-09 05:23:54 -05:00
2022-12-01 13:28:05 -05:00
all: aoc
aoc: $(wildcard *.m)
2022-12-09 05:23:54 -05:00
nix shell nixpkgs#mercury -c mmc $(MMCFLAGS) --make aoc
2022-12-01 13:28:05 -05:00
clean:
rm -rf Mercury
rm -f *.mh *.err aoc