Implement tests grid-view and backtraces
[tiger.ml.git] / compiler / Makefile
index 39be479..9feaa76 100644 (file)
@@ -1,13 +1,14 @@
 MAKEFLAGS := --no-builtin-rules
 
-EXE_TYPE              := byte  # byte | native
+EXE_TYPE              := native  # byte | native
 EXECUTABLES           := tigerc tigert
+OCAMLBUILD_FLAGS_PKGS := -pkg unix
 OCAMLBUILD_FLAGS_DIRS := -I src/exe -I src/lib/tiger
-OCAMLBUILD_FLAGS_COMP := -cflags '-w A'
+OCAMLBUILD_FLAGS_COMP := -cflags '-g -w A'
 OCAMLBUILD_FLAGS_YACC := -yaccflag '-v'
 OCAMLBUILD            := \
   ocamlbuild \
-    -classic-display \
+    $(OCAMLBUILD_FLAGS_PKGS) \
     $(OCAMLBUILD_FLAGS_COMP) \
     $(OCAMLBUILD_FLAGS_DIRS) \
     $(OCAMLBUILD_FLAGS_YACC)
This page took 0.02775 seconds and 4 git commands to generate.