Ajout des fichiers textes ainsi que d'une commande pour les transformer en ascii
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
|
||||
%.ascii.txt: %.txt
|
||||
iconv -f utf-8 -t ascii//TRANSLIT $< -o $@
|
||||
|
||||
ascii: $(shell find textes/ -type f -iname "*.txt" ! -iname "*.ascii.txt" | sed "s/\.txt/\.ascii\.txt/")
|
||||
|
||||
%.cmx: %.ml
|
||||
ocamlopt -c $<
|
||||
@@ -7,4 +11,4 @@ tipe: tipe.cmx
|
||||
ocamlopt -o tipe str.cmxa tipe.cmx
|
||||
|
||||
clean:
|
||||
rm tipe *.cmx *.cmi *.o
|
||||
rm -rf tipe *.cmx *.cmi *.o textes/*.ascii.txt
|
||||
|
||||
Reference in New Issue
Block a user