Added test programs.
[fedora-mingw.git] / ocaml-extlib / Makefile
diff --git a/ocaml-extlib/Makefile b/ocaml-extlib/Makefile
new file mode 100644 (file)
index 0000000..7b2b399
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- Makefile -*-
+# Test programs for extlib
+
+OCAMLOPTFLAGS = -I +extlib extLib.cmxa
+
+all: test1 test1.exe
+
+test1: test1.ml
+       ocamlopt $(OCAMLOPTFLAGS) $< -o $@
+
+test1.exe: test1.ml
+       i686-pc-mingw32-ocamlopt $(OCAMLOPTFLAGS) $< -o $@
+
+clean:
+       rm -f test1 *.exe *.cmi *.cmx *.o