]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/pxp/pxp/compatibility/Makefile
Initial revision
[helm.git] / helm / DEVEL / pxp / pxp / compatibility / Makefile
diff --git a/helm/DEVEL/pxp/pxp/compatibility/Makefile b/helm/DEVEL/pxp/pxp/compatibility/Makefile
new file mode 100644 (file)
index 0000000..187116c
--- /dev/null
@@ -0,0 +1,40 @@
+# make all:            make bytecode archive
+# make opt:            make native archive
+# make install:        install bytecode archive, and if present, native archive
+# make uninstall:      uninstall package
+# make clean:          remove intermediate files (in this directory)
+# make CLEAN:           remove intermediate files (recursively)
+# make distclean:      remove any superflous files (recursively)
+
+#----------------------------------------------------------------------
+
+include Makefile.conf
+
+.PHONY: all
+all: 
+       $(MAKE) -f Makefile.code all
+
+.PHONY: opt
+opt: 
+       $(MAKE) -f Makefile.code opt
+
+.PHONY: install
+install: all 
+       files=`../tools/collect_files *.cmi *.cma *.cmxa *.a` && \
+       ocamlfind install $(NAME) $(MLI) $$files META
+
+.PHONY: uninstall
+uninstall:
+       ocamlfind remove $(NAME)
+
+.PHONY: clean
+clean:
+       rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa *.new *.old
+
+.PHONY: CLEAN
+CLEAN: clean
+
+.PHONY: distclean
+distclean: clean
+       rm -f *~ depend depend.pkg
+