23 lines
290 B
Makefile
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
|