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

main_target: check

PROGS=mercury_main
TESTS=

EXTRA_FILES=cpp_main.cc cpp_main.h

include Mmake.thisdir
include $(DEPTH)/Mmake.common
include $(DEPTH)/Mmake.common.samples

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

include $(SOURCEDIR)/Mmakefile

# Add a few dependencies so that it copies the source
# files correctly.
mercury_lib.depend mercury_lib.o: mercury_lib.m
mercury_main.depend: mercury_main.depend cpp_main_int.m
cpp_main_int.o: cpp_main.h

clean_local: clean_2

clean_2:
	rm -f *.m mercury_lib.*

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