for review: add mercury_opengl library

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Feb 17 02:04:56 AEDT 1998


On 16-Feb-1998, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> New File: extras/graphics/mercury_opengl/HOWTO
> ===================================================================

This looks suspiciously like a cut-and-paste from mercury_tcltk/HOWTO,
and I think there may be some cut-and-paste errors:

> 	EXTRA_MLLIBS  = -ltk8.0 -ltcl8.0 -L/usr/X11R6/lib -lX11 -lXmu \
> 				-lXext -lm -ldl
> 
> 	# Specify the location of the `mercury_tcltk' package.
> 	MERCURY_TCLTK_DIR  = some/directory/mercury_tcltk
> 
> 	# Tell mmake to use the `mercury_tcltk' library.
> 	VPATH           = $(MERCURY_TCLTK_DIR):$(MMAKE_VPATH)
> 	MCFLAGS         = -I$(MERCURY_TCLTK_DIR) $(EXTRA_MCFLAGS)
> 	MLFLAGS         = -R$(MERCURY_TCLTK_DIR) $(EXTRA_MLFLAGS) \
> 			  -L$(MERCURY_TCLTK_DIR) 
> 	MLLIBS          = -lmercury_tk $(EXTRA_MLLIBS)
> 	C2INITFLAGS     = $(MERCURY_TCLTK_DIR)/mercury_tcltk.init 

Don't you also need to tell mmake to use the `mercury_opengl' library?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list