[m-rev.] diff: compiler/Mmakefile: fix GCC back-end dependencies
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Sep 26 02:36:30 AEST 2002
Estimated hours taken: 1
Branches: main
compiler/Mmakefile:
Ensure that we remake the GCC back-end library if needed.
Workspace: /home/ceres/fjh/ws-gcc-basic-improvements-patched/mercury
Index: compiler/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.61
diff -u -d -r1.61 Mmakefile
--- compiler/Mmakefile 16 Sep 2002 16:34:23 -0000 1.61
+++ compiler/Mmakefile 25 Sep 2002 16:17:11 -0000
@@ -40,6 +40,13 @@
GCC_BACKEND_LIBS =
endif
+# Ensure that we rebuild the GCC libbackend.a, etc., if it is out-of-date
+.PHONY: force
+force: ;
+
+$(GCC_MAIN_LIBS): force
+ cd $(GCC_SRC_DIR)/gcc && $(MAKE) mercury_gcc_backend_libs
+
MCFLAGS += -I $(BROWSER_DIR)
MLOBJS := ../main.$O $(MLOBJS)
ALL_MLLIBS = $(MLLIBS) $(EXTRA_MLLIBS) $(GCC_BACKEND_LIBS)
--
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