Skip to content

Commit c973b44

Browse files
committed
Merge branch 'v86' into v86FullNames
2 parents 041903a + 967c0dc commit c973b44

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
.PHONY: coq clean
22

33
coq:: Makefile.coq
4-
COQBIN=$(COQBIN) COQDEP=$(COQBIN)coqdep ZDEBUG=-bin-annot $(MAKE) -f Makefile.coq
4+
$(MAKE) -f Makefile.coq
55

66
src/paramcoq_mod.ml: src/paramcoq.mllib
77
sed -e "s/\([^ ]\{1,\}\)/let _=Mltop.add_known_module\"\1\" /g" $< > $@
88
echo "let _=Mltop.add_known_module\"paramcoq\"" >> $@
99

1010
Makefile.coq: Make.cfg src/paramcoq_mod.ml
11-
$(COQBIN)coq_makefile -f Make.cfg -o Makefile.coq
12-
sed -i 's/$$(COQDEP) $$(OCAMLLIBS)/$$(COQDEP) $$(OCAMLLIBS) -c/' Makefile.coq
11+
coq_makefile -f Make.cfg -o Makefile.coq
1312

1413
clean:: Makefile.coq
1514
$(MAKE) -f Makefile.coq clean
16-
rm -f src/paramcoq_mod.ml
1715

1816
distclean:
1917
rm -f Makefile.coq Makefile.coq.bak .depend
2018

19+
# if using opam, this installs paramcoq at the right place: ~/.opam/...
20+
# otherwise, use with sudo for a systemwide install
2121
install:
2222
$(MAKE) -f Makefile.coq install

src/paramcoq_mod.ml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
let _=Mltop.add_known_module"Debug"
2+
let _=Mltop.add_known_module"Relations"
3+
let _=Mltop.add_known_module"Parametricity"
4+
let _=Mltop.add_known_module"Declare_translation"
5+
let _=Mltop.add_known_module"Abstraction"
6+
let _=Mltop.add_known_module"Paramcoq_mod"
7+
let _=Mltop.add_known_module"paramcoq"

0 commit comments

Comments
 (0)