Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / objc / hidden-ivars / Makefile
blob283e8a118fb16af6ec887f73cff082a21f6a216d
1 DYLIB_NAME := InternalDefiner
2 DYLIB_OBJC_SOURCES := InternalDefiner.m
3 OBJC_SOURCES := main.m
5 LD_EXTRAS = -framework Foundation
7 all: a.out libInternalDefiner.dylib stripped
9 include Makefile.rules
11 ifeq "$(MAKE_DSYM)" "YES"
12 stripped: a.out.dSYM
13 endif
15 stripped: a.out libInternalDefiner.dylib
16 mkdir stripped
17 strip -Sx a.out -o stripped/a.out
18 strip -Sx libInternalDefiner.dylib -o stripped/libInternalDefiner.dylib
19 ifneq "$(CODESIGN)" ""
20 $(CODESIGN) -fs - stripped/a.out
21 endif
22 ifneq "$(CODESIGN)" ""
23 $(CODESIGN) -fs - stripped/libInternalDefiner.dylib
24 endif
25 ifeq "$(MAKE_DSYM)" "YES"
26 cp -r a.out.dSYM stripped/a.out.dSYM
27 endif