aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--parsing/q_coqast.ml42
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 06e8b8ddca..5af7d0b2e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1347,6 +1347,12 @@ ML4FILES +=parsing/g_basevernac.ml4 parsing/g_minicoq.ml4 \
# beforedepend:: parsing/pcoq.ml parsing/extend.ml
+# File using pa_ifdef and only necessary for parsing ml files
+
+parsing/q_coqast.cmo: parsing/q_coqast.ml4
+ $(SHOW)'OCAMLC4 $<'
+ $(HIDE)$(OCAMLC) $(BYTEFLAGS) -pp "$(CAMLP4O) $(CAMLP4EXTENDFLAGS) pa_ifdef.cmo -impl" -c -impl $<
+
# toplevel/mltop.ml4 (ifdef Byte)
toplevel/mltop.cmo: toplevel/mltop.byteml
diff --git a/parsing/q_coqast.ml4 b/parsing/q_coqast.ml4
index b804d4ce1a..5a214cde7f 100644
--- a/parsing/q_coqast.ml4
+++ b/parsing/q_coqast.ml4
@@ -8,8 +8,6 @@
(* $Id$ *)
-(* camlp4deps: "pa_ifdef.cmo" *)
-
open Util
open Names
open Libnames