mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 20:34:19 +00:00
Re-add this file from a recent workspace. The version in the repository
samples/tests/c_interface/cplusplus_calls_mercury/Mmakefile: Re-add this file from a recent workspace. The version in the repository had been truncated.
This commit is contained in:
29
samples/tests/c_interface/cplusplus_calls_mercury/Mmakefile
Normal file
29
samples/tests/c_interface/cplusplus_calls_mercury/Mmakefile
Normal file
@@ -0,0 +1,29 @@
|
||||
#-----------------------------------------------------------------------------#
|
||||
|
||||
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.*
|
||||
|
||||
#-----------------------------------------------------------------------------#
|
||||
Reference in New Issue
Block a user