[m-rev.] Re: for review: pass $(ALL_GRADEFLAGS) to mmc --make-interface

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Feb 13 16:32:49 AEDT 2002


On 13-Feb-2002, Fergus Henderson <fjh at cs.mu.oz.au> wrote:
> scripts/mmake.in:
> compiler/modules.m:
> 	Pass $(ALL_GRADEFLAGS) to mmc when building the interface files

Oops, the first file should have been scripts/Mmake.rules
rather than scripts/mmake.in.  Here's the diff for that file.

Index: Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.114
diff -u -d -u -r1.114 Mmake.rules
--- Mmake.rules	7 Jan 2002 06:27:17 -0000	1.114
+++ Mmake.rules	11 Feb 2002 14:09:39 -0000
@@ -138,19 +138,19 @@
 #
 
 $(date0s_subdir)%.date0 : %.m
-	$(MCPI) $(ALL_MCPIFLAGS) $<
+	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) $<
 
 $(dates_subdir)%.date : %.m
-	$(MCI) $(ALL_MCIFLAGS) $<
+	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) $<
 
 $(date3s_subdir)%.date3 : %.m
-	$(MCSI) $(ALL_MCSIFLAGS) $<
+	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) $<
 
 $(optdates_subdir)%.optdate : %.m
-	$(MCOI) $(ALL_MCOIFLAGS) $<
+	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) $<
 
 $(trans_opt_dates_subdir)%.trans_opt_date : %.m
-	$(MCTOI) $(ALL_MCTOIFLAGS) $<
+	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) $<
 
 # Be very careful about changing the following rules.
 # The `@:' is a silent do-nothing command.

-- 
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