Make sure the Mercury.modules file is created before it is

Estimated hours taken: 0.1
Branches: main

browser/Mmakefile:
	Make sure the Mercury.modules file is created before it is
	used with parallel make.
This commit is contained in:
Simon Taylor
2002-06-16 09:12:58 +00:00
parent b1b7a82252
commit 46ba9ddd41

View File

@@ -72,9 +72,10 @@ endif
.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