[m-rev.] diff: minor fixes to extras/curs*/Mmakefile
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Dec 29 17:44:01 AEDT 2001
Estimated hours taken: 0.25
Branches: main
Various minor fixes to the Mmakefiles in extras/curs*.
extras/curs/Mmakefile:
Include ../Mmake.params.
Add a comment.
extras/curses/Mmakefile:
Include -lncurses in MLLIBS.
Add a comment.
extras/curses/samples/Mmakefile:
Include -I$(MCURSES_DIR) in MGNUCFLAGS.
Index: curs/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/curs/Mmakefile,v
retrieving revision 1.1
diff -u -d -r1.1 Mmakefile
--- curs/Mmakefile 21 Feb 2001 16:55:15 -0000 1.1
+++ curs/Mmakefile 22 Nov 2001 09:56:04 -0000
@@ -6,7 +6,7 @@
-# Do the following:
+# To build, do the following:
#
# $ mmake depend
# $ mmake
@@ -37,6 +37,8 @@
# in its Mmakefile:
#
#EXTRA_LIBRARIES = curs
+
+-include ../Mmake.params
MAIN_TARGET = libcurs
depend: curs.depend
Index: curses/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/curses/Mmakefile,v
retrieving revision 1.2
diff -u -d -r1.2 Mmakefile
--- curses/Mmakefile 21 Nov 2000 23:52:28 -0000 1.2
+++ curses/Mmakefile 29 Dec 2001 06:40:01 -0000
@@ -10,6 +10,10 @@
depend: mcurses.depend
+# The following definition is correct for Linux. You may need to change
+# this line to include the appropriate curses library for your OS.
+MLLIBS = -lncurses
+
.PHONY: check
check:
true
Index: curses/sample/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/curses/sample/Mmakefile,v
retrieving revision 1.1
diff -u -d -r1.1 Mmakefile
--- curses/sample/Mmakefile 14 Jan 2000 07:21:35 -0000 1.1
+++ curses/sample/Mmakefile 22 Nov 2001 15:35:09 -0000
@@ -4,6 +4,7 @@
# Tell mmake to use the mcurses library
VPATH = $(MCURSES_DIR):$(MMAKE_VPATH)
MCFLAGS = -I$(MCURSES_DIR) $(EXTRA_MCFLAGS)
+MGNUCFLAGS = -I$(MCURSES_DIR) $(EXTRA_MGNUCFLAGS)
MLFLAGS = -R$(MCURSES_DIR) $(EXTRA_MLFLAGS) \
-L$(MCURSES_DIR)
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list