Ajout de jolies définitions mli pour les modules
Modification du Makefile qui détecte tout seul la présence d'un mli. Rangement des pdfs dans un sous-dossier "Documents"
This commit is contained in:
@@ -7,16 +7,13 @@ ascii: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed
|
||||
%.cmx: %.ml
|
||||
ocamlopt -c $<
|
||||
|
||||
Code.cmo: Math.cmo
|
||||
|
||||
%.cmi: %.mli
|
||||
ocamlc -c $<
|
||||
%.cmo: %.ml
|
||||
if [ -f $*".mli" ]; then ocamlc -c $*".mli" ; fi
|
||||
ocamlc -c $<
|
||||
|
||||
|
||||
Code.cmo: Code.ml Math.cmo
|
||||
mkdir tmp
|
||||
cat Code.ml | sed '/^#/d' > tmp/Code.ml
|
||||
ocamlc -c tmp/Code.ml Math.cmo
|
||||
mv tmp/Code.cmo Code.cmo
|
||||
rm -r tmp
|
||||
|
||||
tipe: tipe.cmx
|
||||
ocamlopt -o tipe str.cmxa tipe.cmx
|
||||
|
||||
Reference in New Issue
Block a user