[Pkg-ocaml-maint-commits] [SCM] lablgl packaging branch, master, updated. debian/1.04-5-19-gd037177
Lifeng Sun
lifongsun at gmail.com
Sun May 12 00:20:37 UTC 2013
The following commit has been merged in the master branch:
commit df58fa429c5d2c86fd63516a3f16104856c56eae
Author: Lifeng Sun <lifongsun at gmail.com>
Date: Sun May 12 07:56:13 2013 +0800
Revert commit a6a7309dff692a14a43856c7b4e772b9040854bf.
diff --git a/Togl/examples/Makefile b/Togl/examples/Makefile
index da2168f..86fe6ca 100644
--- a/Togl/examples/Makefile
+++ b/Togl/examples/Makefile
@@ -1,16 +1,4 @@
# Makefile for examples subdir
-PACKAGES = lablgl.togl,unix
-DERIVEDML = $(patsubst %.ml.gz,%.ml,$(wildcard *.ml.gz))
-
-all: $(patsubst %.ml,%.opt,$(wildcard *.ml) $(DERIVEDML))
-
-%.ml : %.ml.gz
- gunzip -c $^ > $@
-
-%.opt : %.ml
- ocamlfind ocamlopt -package $(PACKAGES) -c $^
- ocamlfind ocamlopt -package $(PACKAGES) -linkpkg -o $@ $^
-
clean:
- rm -f *.cm* *.o *.opt $(DERIVEDML)
+ rm -f *.cm* *.o *.opt
diff --git a/Togl/examples/planet.ml b/Togl/examples/planet.ml
index 9d84849..0a0f3fb 100644
--- a/Togl/examples/planet.ml
+++ b/Togl/examples/planet.ml
@@ -1,6 +1,6 @@
(* $Id: planet.ml,v 1.17 2001-09-07 06:50:01 garrigue Exp $ *)
-open Unix
+#load"unix.cma";;
class planet togl = object (self)
val togl = togl
--
lablgl packaging
More information about the Pkg-ocaml-maint-commits
mailing list