1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# make validate: make bytecode executable
# make validate.opt: make native executable
# make clean: remove intermediate files (in this directory)
# make CLEAN: remove intermediate files (recursively)
# make distclean: remove any superflous files (recursively)
#----------------------------------------------------------------------
test_canonxml: test_canonxml.ml
ocamlfind ocamlc -g -a -o test_canonxml.cma -package pxp,str test_canonxml.ml
../create-wrapper test_canonxml
#----------------------------------------------------------------------
.PHONY: all
all:
.PHONY: clean
clean:
rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa out.xml
rm -f test_canonxml
.PHONY: CLEAN
CLEAN: clean
.PHONY: distclean
distclean: clean
rm -f *~
|