summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
-rw-r--r--src/OCamlMakefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 5df6a31..9f718c3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
# OCAMLC = ocamlcp -p a
-OCAMLBCFLAGS = -w A -w e
+OCAMLBCFLAGS = -g -w A -w e
YFLAGS = -v
TRASH = parser.output perl_checker.html TAGS
RESULT = perl_checker
diff --git a/src/OCamlMakefile b/src/OCamlMakefile
index 342d4c4..cc71121 100644
--- a/src/OCamlMakefile
+++ b/src/OCamlMakefile
@@ -142,13 +142,13 @@ NCRESULT := $(addsuffix $(NCSUFFIX), $(RESULT))
TOPRESULT := $(addsuffix $(TOPSUFFIX), $(RESULT))
ifndef OCAMLC
- OCAMLC := ocamlc
+ OCAMLC := ocamlc -g
endif
export OCAMLC
ifndef OCAMLOPT
- OCAMLOPT := ocamlopt
+ OCAMLOPT := ocamlopt -g
endif
export OCAMLOPT