[m-rev.] trivial diff: fix browser/Mmakefile parallel make bug
Simon Taylor
stayl at cs.mu.OZ.AU
Sun Jun 16 19:13:19 AEST 2002
Estimated hours taken: 0.1
Branches: main
browser/Mmakefile:
Make sure the Mercury.modules file is created before it is
used with parallel make.
Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/browser/Mmakefile,v
retrieving revision 1.21
diff -u -u -r1.21 Mmakefile
--- Mmakefile 10 Jun 2002 10:05:46 -0000 1.21
+++ Mmakefile 16 Jun 2002 09:05:02 -0000
@@ -72,9 +72,10 @@
.PHONY: all
all : library browse_test declarative_test
+DEPENDS = $(BROWSER_LIB_NAME).depend browse_test.depend declarative_test.depend
.PHONY: depend
-depend : Mercury.modules $(BROWSER_LIB_NAME).depend \
- browse_test.depend declarative_test.depend
+depend : $(DEPENDS)
+$(DEPENDS) : Mercury.modules
# This directory contains source files for which the module
# name doesn't match the file name, so smart recompilation
--------------------------------------------------------------------------
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