diff: setting GRADEFLAGS
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Feb 11 20:08:56 AEDT 1998
extras/clpr/Mmakefile:
extras/clpr/samples/Mmakefile:
extras/trailed_update/Mmakefile:
extras/trailed_update/samples/Mmakefile:
Use `GRADEFLAGS += --use-trail' instead of `GRADEFLAGS = --use-trail',
so that the definition of GRADEFLAGS doesn't override the default
definition `GRADEFLAGS = --use-grade $(GRADE)'. This means that
the specified GRADEFLAGS will modify the GRADE, rather than
replacing it.
cvs diff extras/clpr/Mmakefile extras/clpr/samples/Mmakefile extras/trailed_update/Mmakefile extras/trailed_update/samples/Mmakefile
Index: extras/clpr/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/clpr/Mmakefile,v
retrieving revision 1.14
diff -u -r1.14 Mmakefile
--- Mmakefile 1998/02/10 11:26:42 1.14
+++ Mmakefile 1998/02/11 09:01:35
@@ -17,7 +17,7 @@
MCFLAGS = --intermodule-optimization
# We need to use a grade with trailing
-GRADEFLAGS = --use-trail
+GRADEFLAGS += --use-trail
# Enable C debugging
MGNUCFLAGS = -g
Index: extras/clpr/samples/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/clpr/samples/Mmakefile,v
retrieving revision 1.6
diff -u -r1.6 Mmakefile
--- Mmakefile 1998/02/08 03:20:28 1.6
+++ Mmakefile 1998/02/11 09:02:20
@@ -6,7 +6,7 @@
MCFLAGS += --infer-all
# We need to use a grade with trailing
-GRADEFLAGS = --use-trail
+GRADEFLAGS += --use-trail
# Enable C debugging
MGNUCFLAGS = -g
Index: extras/trailed_update/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/Mmakefile,v
retrieving revision 1.5
diff -u -r1.5 Mmakefile
--- Mmakefile 1997/11/21 08:11:31 1.5
+++ Mmakefile 1998/02/11 09:02:25
@@ -4,7 +4,7 @@
# Public License - see the file COPYING.LIB in the Mercury distribution.
#-----------------------------------------------------------------------------#
-GRADEFLAGS = --use-trail
+GRADEFLAGS += --use-trail
# enable C debugging
RM_C = :
Index: extras/trailed_update/samples/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/samples/Mmakefile,v
retrieving revision 1.3
diff -u -r1.3 Mmakefile
--- Mmakefile 1997/11/21 08:11:36 1.3
+++ Mmakefile 1998/02/11 09:02:31
@@ -7,7 +7,7 @@
MAIN_TARGET = all
# We need to use a grade with trailing
-GRADEFLAGS = --use-trail
+GRADEFLAGS += --use-trail
MCFLAGS = --infer-all
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list