Add all the assignment code.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 18:59:28 -08:00
parent 58c6b1f81c
commit cfe502c598
1277 changed files with 48709 additions and 1 deletions

30
hw1/Makefile Normal file
View file

@ -0,0 +1,30 @@
SUBMIT := $(shell cat submit_zip_contents.txt)
HWNAME := hw1
TIMESTAMP := $(shell /bin/date "+%Y-%m-%d-%H:%M:%S")
ZIPNAME := $(HWNAME)-submit-$(TIMESTAMP).zip
.PHONY: all oatc test clean zip
all: oatc
dev:
dune build --watch --terminal-persistence=clear-on-rebuild
oatc:
dune build
@cp bin/main.exe oatc
test: oatc
./oatc --test
utop:
utop
zip: $(SUBMIT)
zip '$(ZIPNAME)' $(SUBMIT)
clean:
dune clean
rm -rf oatc ocamlbin bin/main.exe
#