Tentatives de modularisation des classes, y a encore deux trois problèmes
This commit is contained in:
@@ -6,6 +6,17 @@ ascii: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed
|
||||
|
||||
%.cmx: %.ml
|
||||
ocamlopt -c $<
|
||||
|
||||
%.cmo: %.ml
|
||||
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
|
||||
@@ -16,4 +27,4 @@ tipe: tipe.cmx
|
||||
runall: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed "s/\.txt/\.txt\.test/")
|
||||
|
||||
clean:
|
||||
rm -rf tipe *.cmx *.cmi *.o textes/*.ascii.txt
|
||||
rm -rf tipe *.cmx *.cmi *.cmo *.o textes/*.ascii.txt *.ntl.ml
|
||||
|
||||
Reference in New Issue
Block a user