mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
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.
28 lines
972 B
Plaintext
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
|