diff -Nur lablgl-1.01/Makefile lablgl-1.01-liulk/Makefile --- lablgl-1.01/Makefile Fri Oct 3 00:27:19 2003 +++ lablgl-1.01-liulk/Makefile Tue Apr 12 00:58:20 2005 @@ -29,6 +29,7 @@ cd LablGlut/src && $(MAKE) opt install: + mkdir -p "$(BINDIR)" @$(MAKE) real-install INSTALLDIR="$(INSTALLDIR)" DLLDIR="$(DLLDIR)" real-install: diff -Nur lablgl-1.01/Makefile.config lablgl-1.01-liulk/Makefile.config --- lablgl-1.01/Makefile.config Wed Dec 31 19:00:00 1969 +++ lablgl-1.01-liulk/Makefile.config Tue Apr 12 01:21:16 2005 @@ -0,0 +1,52 @@ +# LablGL and Togl configuration file +# +# Please have a look at the config/Makefile in the Objective Caml distribution, +# or at the labltklink script to get the information needed here +# + +##### Adjust these always + +# Uncomment if you have the fast ".opt" compilers +CAMLC = ocamlc.opt +CAMLOPT = ocamlopt.opt + +# Where to put the lablgl script +PREFIX = /usr/local +DESTDIR = +BINDIR = $(DESTDIR)$(PREFIX)/bin + +# Where to find X headers +XINCLUDES = +# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) +XLIBS = + +# Where to find Tcl/Tk headers +# This must the same version as for LablTk +TKINCLUDES = +# Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) +TKLIBS = + +# Where to find OpenGL/Mesa/Glut headers and libraries +GLINCLUDES = +GLLIBS = +GLUTLIBS = + +# How to index a library after installing (ranlib required on MacOSX) +RANLIB = ranlib + +##### Adjust these if non standard + +# The Objective Caml library directory +LIBDIR = $(DESTDIR)`ocamlc -where` + +# Where to put dlls (if dynamic loading available) +DLLDIR = $(DESTDIR)`ocamlc -where`/stublibs + +# Where to put LablGL (standard) +INSTALLDIR = $(LIBDIR)/lablGL + +# Where is Togl (default) +#TOGLDIR = Togl + +# C Compiler options +#COPTS = -c -O