Files
mercury/extras/graphics/samples/calc/Mmakefile.MacOSX
Ian MacLarty 61c38eba2f Port the Tcl/Tk binding to Mac OS X.
Estimated hours taken: 5
Branches: main and 0.12

Port the Tcl/Tk binding to Mac OS X.

extras/graphics/mercury_tcltk/HOWTO:
	Remove the remark about interior pointers since it is no longer
	applicable.

extras/graphics/mercury_tcltk/Mmakefile:
	Try to link with tcl/tk 8.4 by default.

extras/graphics/mercury_tcltk/Mmakefile.MacOSX:
	Mmakefile for Mac OS X.

extras/graphics/mercury_tcltk/README:
	Mention Mmakefile.MacOSX.

extras/graphics/mercury_tcltk/mtcltk.m:
	Include the headers from a different location on Mac OS X.

extras/graphics/samples/calc/Mmakefile.MacOSX:
	Add a Mmakefile to compile the Tcl/Tk example on Mac OS X.

extras/graphics/samples/calc/README:
	Add a README.

extras/graphics/samples/calc/calc.m:
	Add spaces around some of the characters on the buttons, so that they
	are visible in Mac OS X.
2005-08-15 04:11:43 +00:00

17 lines
509 B
Plaintext

MAIN_TARGET = calc
# Specify the location of the `mercury_tcltk' package.
MERCURY_TCLTK_DIR = ../../mercury_tcltk
MGNUCFLAGS = -I$(MERCURY_TCLTK_DIR)
# 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
depend : calc.depend