Files
mercury/extras/graphics/samples/calc/Mmakefile
Julien Fischer e7010327d9 Delete references to picreg.
browser/interactive_query.m:
extras/dynamic_linking/Mmakefile:
extras/graphics/mercury_glut/Mmakefile:
extras/graphics/mercury_glut/Mmakefile.MacOSX:
extras/graphics/samples/calc/Makefile:
extras/graphics/samples/gears/Mmakefile:
extras/graphics/samples/maze/Mmakefile:
extras/graphics/samples/pent/Mmakefile:
extras/morphine/non-regression-tests/Mmakefile:
extras/morphine/source/collect.op:
    As above.
2016-04-26 14:03:04 +10:00

28 lines
972 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# Specify the location of the `mercury_tcltk' package.
MERCURY_TCLTK_DIR = ../../mercury_tcltk
# To use shared libraries under Linux you need to add these:
MGNUCFLAGS = -I$(MERCURY_TCLTK_DIR) -I/usr/include/tcl8.4
EXTRA_MLFLAGS = -shared
# This will need to be modified according to the versions of
# tk and tcl you are using.
EXTRA_MLLIBS = -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 \
-lXext -lm -ldl
# 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_tcltk $(EXTRA_MLLIBS)
C2INITARGS = $(MERCURY_TCLTK_DIR)/mercury_tcltk.init
default_target: calc
depend: calc.dep