[m-dev.] trivial diff: clean up Mmakefile in trailed_update/samples

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 1 00:45:52 AEDT 2001


Estimated hours taken: 0.1

extras/trailed_update/samples/Mmakefile:
	- Pass C compiler options via CFLAGS rather than MGNUCFLAGS.
	- Don't include $(EXTRA_<foo>) in $(FOO) since Mmake
	  already does that automatically.

Workspace: /home/hg/fjh/mercury
Index: extras/trailed_update/samples/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/samples/Mmakefile,v
retrieving revision 1.12
diff -u -d -r1.12 Mmakefile
--- extras/trailed_update/samples/Mmakefile	2000/04/20 06:35:28	1.12
+++ extras/trailed_update/samples/Mmakefile	2001/02/28 13:31:11
@@ -11,19 +11,21 @@
 
 MCFLAGS = --infer-all
 
-MGNUCFLAGS=-g -I..
+# Enable C debugging
+CFLAGS=-g
 RM_C=:
 MLFLAGS=-g
 
 # Link in the trailed_update library from ..
-MCFLAGS += -I.. $(EXTRA_MCFLAGS)
-MLFLAGS += -R`pwd`/.. -L.. $(EXTRA_MLFLAGS)
-MLLIBS = -ltrailed_update $(EXTRA_MLLIBS)
+MCFLAGS += -I..
+CFLAGS += -I..
+MLFLAGS += -R`pwd`/.. -L..
+MLLIBS = -ltrailed_update
 VPATH = ..:$(MMAKE_VPATH)
 C2INITARGS = ../trailed_update.init
 
 # We need the following to use shared libraries on Linux
-#MGNUCFLAGS += -DPIC_REG
+#CFLAGS += -DPIC_REG
 #MLFLAGS += --shared
 
 MLFLAGS += --static

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list