Commit e1afbc1d authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-02-19 03:00:49 by beppe] added .opt option

Original author: beppe
Date: 2004-02-19 03:00:49+00:00
parent cbd82743
*** ocaml-3.07/Makefile Thu Jul 3 17:13:21 2003
--- ../ocaml-3.07/Makefile Fri Jan 23 09:51:46 2004
*** ocaml-3.07/Makefile 2003-07-03 17:13:21.000000000 +0200
--- /usr/local/src/BUILD/ocaml-3.07/Makefile 2004-02-19 03:58:32.000000000 +0100
***************
*** 98,103 ****
--- 98,104 ----
......@@ -11,16 +11,21 @@
TOPOBJS=$(TOPLEVELLIB) $(TOPLEVELSTART)
***************
*** 310,315 ****
--- 311,320 ----
*** 311,316 ****
--- 312,327 ----
toplevel/toplevellib.cma: $(TOPLIB)
$(CAMLC) -a -o $@ $(TOPLIB)
+
+ install_all_libs: $(ALLLIB)
+ install_liball: $(ALLLIB)
+ $(CAMLC) -pack -o oCaml_all.cmo $(ALLLIB)
+ $(CAMLC) -a -o oCaml_all.cma oCaml_all.cmo
+ cp oCaml_all.cma $(LIBDIR)
+ cp oCaml_all.cma oCaml_all.cmi $(LIBDIR)
+
+ install_liball.opt: $(ALLLIB:.cmo=.cmx)
+ $(CAMLOPT) -pack -o oCaml_all.cmx $(ALLLIB:.cmo=.cmx)
+ $(CAMLOPT) -a -o oCaml_all.cmxa oCaml_all.cmx
+ cp -f oCaml_all.cmxa oCaml_all.cmi $(LIBDIR)
+
partialclean::
rm -f ocaml toplevel/toplevellib.cma
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment