Files
mercury/extras/trailed_update/Mmakefile
Fergus Henderson aeb0f440b1 Add rules for mmake clean' and mmake realclean'
Estimated hours taken: 0.25

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.
1998-06-06 11:18:24 +00:00

36 lines
1.0 KiB
Plaintext

#-----------------------------------------------------------------------------#
# Copyright (C) 1997-1998 The University of Melbourne.
# This file may only be copied under the terms of the GNU Library General
# Public License - see the file COPYING.LIB in the Mercury distribution.
#-----------------------------------------------------------------------------#
GRADEFLAGS += --use-trail
# enable C debugging
RM_C = :
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
cd samples && mmake $(MMAKEFLAGS) depend
cd tests && mmake $(MMAKEFLAGS) depend
check : libtrailed_update
cd samples && mmake $(MMAKEFLAGS) check
cd tests && mmake $(MMAKEFLAGS) check
clean :
cd samples && mmake $(MMAKEFLAGS) clean
cd tests && mmake $(MMAKEFLAGS) clean
realclean :
cd samples && mmake $(MMAKEFLAGS) realclean
cd tests && mmake $(MMAKEFLAGS) realclean
#-----------------------------------------------------------------------------#