lldb/test/API/tools/lldb-dap/module/Makefile
raw| 1 | DYLIB_NAME := foo |
| 2 | DYLIB_CXX_SOURCES := foo.cpp |
| 3 | CXX_SOURCES := main.cpp |
| 4 | |
| 5 | LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)" |
| 6 | USE_LIBDL :=1 |
| 7 | |
| 8 | include Makefile.rules |
| 9 | |
| 10 | all: a.out.stripped |
| 11 | |
| 12 | a.out.stripped: |
| 13 | strip -o a.out.stripped a.out |
| 14 | |
| 15 | ifneq "$(CODESIGN)" "" |
| 16 | $(CODESIGN) -fs - a.out.stripped |
| 17 | endif |