Debut de typage

This commit is contained in:
Lucàs
2023-04-03 10:19:54 +02:00
parent a18db587ef
commit 6d9246c420
2 changed files with 108 additions and 25 deletions
+7 -3
View File
@@ -1,5 +1,5 @@
# Import lib + compile + clean folder
all: lib comp clean
# Import lib + compile
all: lib comp
# Compilation of Ocaml files
# Attention: order of object files important
@@ -51,10 +51,14 @@ parser.cmo: parser.ml parser.cmi lang.cmo
.PHONY: clean
### Import files from /lib
### Import files from /lib (temporarly)
lib:
cp ../lib/* ./
## Remove compiled modules and lib
clean:
rm -f lexer.ml parser.ml *.mli *.cmi *.cmo
## Run tests
tests:
./comp ./../tests/rectangles.c ./../tests/out/rectangles.ps