[m-rev.] diff: fix missing dependency for `il' grade
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Mar 4 16:00:20 AEDT 2003
Estimated hours taken: 0.5
Branches: main
library/Mmakefile:
Fix a missing dependency for `il' grade.
Previous the Mmakefile was using `%__cpp_code.dll: ...',
but using `%' like that only works if you give a rule body;
it doesn't work for just stating dependencies.
Workspace: /home/fjh/ws/hermes
Index: library/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/library/Mmakefile,v
retrieving revision 1.109
diff -u -d -r1.109 Mmakefile
--- library/Mmakefile 23 Feb 2003 04:50:01 -0000 1.109
+++ library/Mmakefile 4 Mar 2003 04:11:33 -0000
@@ -256,8 +256,16 @@
mercury_mcpp.dll: ../runtime/mercury_mcpp.dll
cp ../runtime/mercury_mcpp.dll .
-%__csharp_code.dll: $(RUNTIME_DLLS)
-%__cpp_code.dll: $(RUNTIME_DLLS)
+CSHARP_MODULES = array builtin char exception float io math \
+ rtti_implementation string type_desc
+CPP_MODULES = array builtin char construct exception float int io \
+ library math private_builtin profiling_builtin rtti_implementation \
+ std_util string table_builtin type_desc
+
+CSHARP_DLLS = $(CSHARP_MODULES:%=%__csharp_code.dll)
+CPP_DLLS = $(CPP_MODULES:%=%__cpp_code.dll)
+
+$(CSHARP_DLLS) $(CPP_DLLS) : $(RUNTIME_DLLS)
builtin__cpp_code.dll : builtin__csharp_code.dll
exception__csharp_code.dll : exception__cpp_code.dll
--
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