File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : coq clean
2
2
3
3
coq :: Makefile.coq
4
- COQBIN= $( COQBIN ) COQDEP= $( COQBIN ) coqdep ZDEBUG=-bin-annot $(MAKE ) -f Makefile.coq
4
+ $(MAKE ) -f Makefile.coq
5
5
6
6
src/paramcoq_mod.ml : src/paramcoq.mllib
7
7
sed -e " s/\([^ ]\{1,\}\)/let _=Mltop.add_known_module\" \1\" /g" $< > $@
8
8
echo " let _=Mltop.add_known_module\" paramcoq\" " >> $@
9
9
10
10
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
13
12
14
13
clean :: Makefile.coq
15
14
$(MAKE ) -f Makefile.coq clean
16
- rm -f src/paramcoq_mod.ml
17
15
18
16
distclean :
19
17
rm -f Makefile.coq Makefile.coq.bak .depend
20
18
19
+ # if using opam, this installs paramcoq at the right place: ~/.opam/...
20
+ # otherwise, use with sudo for a systemwide install
21
21
install :
22
22
$(MAKE ) -f Makefile.coq install
Original file line number Diff line number Diff line change
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"
You can’t perform that action at this time.
0 commit comments