blob: 99d79b8053878d41af8ff9332b0d875a02ae997a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
CXX_SOURCES := main.cpp
LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"
USE_LIBDL :=1
a.out: libother
include Makefile.rules
# The following shared library will be used to test breakpoints under dynamic loading
libother: other.c
"$(MAKE)" -f $(MAKEFILE_RULES) \
DYLIB_ONLY=YES DYLIB_C_SOURCES=other.c DYLIB_NAME=other
|