diff: tests/Mmake.common & GRADEFLAGS [repost]
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Jan 16 18:11:09 AEDT 1998
Apparently majordomo was down earlier today, so I'm reposting this.
-----Forwarded message from Fergus Henderson <fjh at cs.mu.OZ.AU>-----
Message-ID: <19980115130523.34711 at murlibobo.cs.mu.OZ.AU>
Date: Thu, 15 Jan 1998 13:05:23 +1100
From: Fergus Henderson <fjh at cs.mu.OZ.AU>
To: Mercury Developers <mercury-developers at cs.mu.OZ.AU>
Subject: diff: tests/Mmake.common & GRADEFLAGS
tests/Mmake.common:
Add $(GRADEFLAGS-$@) as well as $(GRADEFLAGS-$*) to GRADEFLAGS.
When doing the final link step, $@ is set but $* is not,
so this change is necessary for the setting of `GRADEFLAGS-foo'
to get passed to `ml' when linking `foo'.
Also add some comments.
Index: Mmake.common
===================================================================
RCS file: /home/mercury1/repository/tests/Mmake.common,v
retrieving revision 1.10
diff -u -u -r1.10 Mmake.common
--- Mmake.common 1998/01/09 04:57:29 1.10
+++ Mmake.common 1998/01/15 01:50:22
@@ -1,9 +1,10 @@
#-----------------------------------------------------------------------------#
-GRADEFLAGS = --grade $(GRADE) $(GRADEFLAGS-$*) $(EXTRA_GRADEFLAGS)
-MCFLAGS = $(MCFLAGS-$*) $(EXTRA_MCFLAGS)
-MGNUCFLAGS=-g $(EXTRA_MGNUCFLAGS) $(EXTRA_CFLAGS)
-MLFLAGS = $(MLFLAGS-$@) $(EXTRA_MLFLAGS)
+GRADEFLAGS = --grade $(GRADE) $(GRADEFLAGS-$*) $(GRADEFLAGS-$@) \
+ $(EXTRA_GRADEFLAGS)
+MCFLAGS = $(MCFLAGS-$*) $(EXTRA_MCFLAGS)
+MGNUCFLAGS = -g $(EXTRA_MGNUCFLAGS) $(EXTRA_CFLAGS)
+MLFLAGS = $(MLFLAGS-$@) $(EXTRA_MLFLAGS)
# override this with `mmake HAVE_NUPROLOG=yes'
# if you want to rebuild the `.exp' files.
--
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.
-----End of forwarded message-----
--
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