aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.build
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-07-03 16:00:22 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-07-10 20:25:10 +0200
commit475a3a6e48a9d5587be5281e5b2206f7c7c8946b (patch)
treecbc93a20b8e8429061703ec09c9459d201514889 /Makefile.build
parentb4572185522cd21e7e4e1cf59095ae66d0da0be1 (diff)
Compile coqpp inside the bin/ folder and make it available after installation.
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.build b/Makefile.build
index cd145ae64..2e14dab54 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -377,7 +377,7 @@ grammar/grammar.cma : $(GRAMCMO)
$(SHOW)'OCAMLC -a $@'
$(HIDE)$(GRAMC) $^ -linkall -a -o $@
-grammar/coqpp: $(COQPPCMO) grammar/coqpp_main.ml
+$(COQPP): $(COQPPCMO) grammar/coqpp_main.ml
$(SHOW)'OCAMLC -a $@'
$(HIDE)$(GRAMC) $^ -linkall -o $@
@@ -764,14 +764,14 @@ plugins/%.cmx: plugins/%.ml
$(SHOW)'OCAMLYACC $<'
$(HIDE)$(OCAMLYACC) --strict "$*.mly"
-%.ml: %.ml4 $(CAMLP5DEPS) grammar/coqpp
+%.ml: %.ml4 $(CAMLP5DEPS) $(COQPP)
$(SHOW)'CAMLP5O $<'
$(HIDE)$(CAMLP5O) -I $(MYCAMLP5LIB) $(PR_O) \
$(CAMLP5DEPS) $(CAMLP5USE) $(CAMLP5COMPAT) -impl $< -o $@
-%.ml: %.mlg grammar/coqpp
+%.ml: %.mlg $(COQPP)
$(SHOW)'COQPP $<'
- $(HIDE)grammar/coqpp $<
+ $(HIDE)$(COQPP) $<
###########################################################################
# Dependencies of ML code