#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab ft=make
#-----------------------------------------------------------------------------#

TESTS_DIR = ..
THIS_DIR = analysis_table
MAYBE_J1 =

# 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))

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

ifdef WORKSPACE_HAS_SUBDIRS
PROGS = table_m1
else
PROGS = 
endif

TESTS = $(sort $(PROGS:%=%-nodepend))

include ../Mmake.common

table_m1.runtest:
	MC=$(MC) ./table_runtest.sh

realclean_local: realclean_analysis_table

realclean_analysis_table:
	$(RM) table_m1.m
	$(RM) -r Mercury

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