trivial diff: extras/trailed_update/Mmakefile

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Jun 6 21:18:08 AEST 1998


extras/trailed_update/Mmakefile:
	Add rules for `mmake clean' and `mmake realclean'
	which invoke the respective targets in the subdirectories.
	This should hopefully avoid some failures in the
	trailed_update/tests subdirectory caught by the nightly test
	script that were due to trying to rebuild in a different grade
	without having done `mmake clean' in that subdirectory.

Index: extras/trailed_update/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/Mmakefile,v
retrieving revision 1.7
diff -u -r1.7 Mmakefile
--- Mmakefile	1998/06/02 05:31:52	1.7
+++ Mmakefile	1998/06/06 11:17:06
@@ -11,6 +11,9 @@
 MGNUCFLAGS = -g -Werror
 MLFLAGS = -g
 
+# We need this to use shared libraries on Linux
+ML = ml --mercury-libs shared
+
 MAIN_TARGET = libtrailed_update
 
 depend : trailed_update.depend
@@ -21,5 +24,12 @@
 	cd samples && mmake $(MMAKEFLAGS) check
 	cd tests && mmake $(MMAKEFLAGS) check
 
-# We need this to use shared libraries on Linux
-ML = ml --mercury-libs shared
+clean :
+	cd samples && mmake $(MMAKEFLAGS) clean
+	cd tests && mmake $(MMAKEFLAGS) clean
+
+realclean :
+	cd samples && mmake $(MMAKEFLAGS) realclean
+	cd tests && mmake $(MMAKEFLAGS) realclean
+
+#-----------------------------------------------------------------------------#

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list