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