X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=helm%2FDEVEL%2Fpxp%2Fpxp%2Fm2parsergen%2FMakefile;fp=helm%2FDEVEL%2Fpxp%2Fpxp%2Fm2parsergen%2FMakefile;h=0000000000000000000000000000000000000000;hp=78f5359c8d0af4f1e19ad550d01ce5e476afa5f7;hb=869549224eef6278a48c16ae27dd786376082b38;hpb=89262281b6e83bd2321150f81f1a0583645eb0c8 diff --git a/helm/DEVEL/pxp/pxp/m2parsergen/Makefile b/helm/DEVEL/pxp/pxp/m2parsergen/Makefile deleted file mode 100644 index 78f5359c8..000000000 --- a/helm/DEVEL/pxp/pxp/m2parsergen/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# make all: make bytecode executable -# make clean: remove intermediate files (in this directory) -# make CLEAN: remove intermediate files (recursively) - -#---------------------------------------------------------------------- - -SRC = ast.ml lexer.ml parser.ml generator.ml -OBJ = $(SRC:.ml=.cmo) - -#---------------------------------------------------------------------- - - -.PHONY: all -all: m2parsergen - -.PHONY: clean -clean: - rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa lexer.ml parser.ml \ - parser.mli - -.PHONY: CLEAN -CLEAN: clean - -.PHONY: distclean -distclean: clean - rm -f *~ depend depend.pkg m2parsergen a.out x.ml - -#---------------------------------------------------------------------- -# general rules: - -OPTIONS = -OCAMLC = ocamlc -g $(OPTIONS) $(ROPTIONS) -OCAMLOPT = ocamlopt -p $(OPTIONS) $(ROPTIONS) -OCAMLDEP = ocamldep $(OPTIONS) -OCAMLFIND = ocamlfind - -#---------------------------------------------------------------------- - -depend: $(SRC) - $(OCAMLDEP) $(SRC) >depend - -m2parsergen: $(OBJ) - $(OCAMLC) -o m2parsergen $(OBJ) - -.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly - -.ml.cmx: - $(OCAMLOPT) -c $< - -.ml.cmo: - $(OCAMLC) -c $< - -.mli.cmi: - $(OCAMLC) -c $< - -.mll.ml: - ocamllex $< - -.mly.ml: - ocamlyacc $< - -include depend