[m-rev.] trivial diff: fix bug in previous change

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Jun 24 22:51:42 AEST 2001

Estimated hours taken: 0.25
Branches: main

	Fix a bug in my previous change:
	*.depend targets must *not* be declared .PHONY,
	since doing that suppresses the implicit rule search.

Workspace: /home/mars/fjh/ws1/mercury
Index: compiler/Mmakefile
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.44
diff -u -d -r1.44 Mmakefile
--- compiler/Mmakefile	2001/06/24 06:58:23	1.44
+++ compiler/Mmakefile	2001/06/24 12:48:20
@@ -197,7 +197,6 @@
 .PHONY: depend
 depend:		mercury_compile.depend
-.PHONY: mercury_compile.depend
 mercury_compile.depend: regenerate_preprocessed_files
 .PHONY: all
@@ -220,7 +219,6 @@
 .PHONY: depend
 depend:		mlds_to_gcc.depend
-.PHONY: mlds_to_gcc.depend
 mlds_to_gcc.depend: regenerate_preprocessed_files
 .PHONY: mercury

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