llvm-project/lldb/examples/functions/Makefile
raw| 1 | LEVEL = ../../test/make |
| 2 | |
| 3 | CXX_SOURCES := main.cpp |
| 4 | |
| 5 | EXE := lldb-functions |
| 6 | USE_LIBCPP := 1 |
| 7 | |
| 8 | MY_OS = $(shell uname -s) |
| 9 | |
| 10 | ifeq "$(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)" |
| 14 | else |
| 15 | LD_EXTRAS ?= $(LLDB_BUILD_DIR)/_lldb.so |
| 16 | endif |
| 17 | |
| 18 | include $(LEVEL)/Makefile.rules |