1LEVEL = ../../test/make 2 3CXX_SOURCES := main.cpp 4 5EXE := lldb-functions 6USE_LIBCPP := 1 7 8MY_OS = $(shell uname -s) 9 10ifeq "$(MY_OS)" "Darwin" 11 LLDB_BUILD_DIR ?= /Applications/Xcode.app/Contents/SharedFrameworks 12 LD_EXTRAS ?= -framework LLDB -Wl,-rpath,"$(LLDB_BUILD_DIR)" 13 FRAMEWORK_INCLUDES=-F"$(LLDB_BUILD_DIR)" 14else 15 LD_EXTRAS ?= $(LLDB_BUILD_DIR)/_lldb.so 16endif 17 18include $(LEVEL)/Makefile.rules 19