#-----------------------------------------------------------------------------#

THIS_DIR = analysis/structure_sharing

# Delete options which are incompatible with --intermodule-analysis.
# These are currently set for nightly tests. 
override EXTRA_MCFLAGS := $(patsubst --intermodule-opt%,,$(EXTRA_MCFLAGS))
override EXTRA_MCFLAGS := $(patsubst --transitive-%,,$(EXTRA_MCFLAGS))

#-----------------------------------------------------------------------------#

SUBDIRS=
TESTS=sharing_m1-nodepend
TESTS_DIR=../..
include $(TESTS_DIR)/Mmake.common

sharing_m1.runtest:
	MC=$(MC) ./sharing_runtest.sh

realclean_local:
	$(RM) sharing_m1.m
	$(RM) -r Mercury

#-----------------------------------------------------------------------------#
