aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.extr
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.extr')
-rw-r--r--Makefile.extr5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.extr b/Makefile.extr
index 732df31e..35ae5f7b 100644
--- a/Makefile.extr
+++ b/Makefile.extr
@@ -43,7 +43,7 @@ WARNINGS=-w -3
extraction/%.cmx: WARNINGS +=-w -20
extraction/%.cmo: WARNINGS +=-w -20
-COMPFLAGS=-g $(INCLUDE) $(WARNINGS)
+COMPFLAGS=-g $(INCLUDES) $(WARNINGS)
# Using the bitstring library and syntax extension (for checklink)
@@ -162,6 +162,7 @@ depend: $(GENERATED)
@echo "Analyzing OCaml dependencies"
@for d in $(DIRS); do $(OCAMLDEP) $$d/*.mli $$d/*.ml; done > .depend.extr
ifneq ($(strip $(DIRS_P4)),)
- @for d in $(DIRS_P4); do $(OCAMLDEP_P4) $$d/*.mli $$d/*.ml; done >> .dependif
+ @for d in $(DIRS_P4); do $(OCAMLDEP_P4) $$d/*.mli $$d/*.ml; done >> .depend.extr
+endif