CS153/lec01/simple/Makefile
jmug 8437a82fbf Add code for lecture 1 (simple.ml)
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-24 20:41:07 -08:00

23 lines
290 B
Makefile

.PHONY: all oatc test clean zip
all: oatc
dev:
dune build --watch --terminal-persistence=clear-on-rebuild
oatc:
dune build
@cp bin/simple.exe oatc
test: oatc
./oatc --test
utop:
dune utop
zip: $(SUBMIT)
zip '$(ZIPNAME)' $(SUBMIT)
clean:
dune clean
rm -rf oatc bin/main.exe