aoc2022/Makefile

12 lines
236 B
Makefile
Raw Normal View History

2022-12-10 01:05:22 -05:00
# this seems to break day7 for some absolutely bizarre reason
MMCFLAGS := # -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