Add code for lecture 1 (simple.ml)
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
cfe502c598
commit
8437a82fbf
11 changed files with 392 additions and 0 deletions
23
lec01/simple/Makefile
Normal file
23
lec01/simple/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.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
|
||||
Loading…
Add table
Add a link
Reference in a new issue