brintos

brintos / llvm-project-archived public Read only

0
0
Text · 472 B · 06438b3 Raw
20 lines · plain
1CXX_SOURCES := main-copy.cpp2LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"3USE_LIBDL :=14 5a.out: libother6 7include Makefile.rules8 9# We copy the source files to move them to test source mapping10other-copy.c: other.c11	cp -f $< $@12 13main-copy.cpp: main.cpp14	cp -f $< $@15 16# The following shared library will be used to test breakpoints under dynamic loading17libother:  other-copy.c18	"$(MAKE)" -f $(MAKEFILE_RULES) \19		DYLIB_ONLY=YES DYLIB_C_SOURCES=other-copy.c DYLIB_NAME=other20