Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / macosx / indirect_symbol / Makefile
blob9069302b39c4f860af56bdbc570c507caad98cb9
1 C_SOURCES := main.c
2 LD_EXTRAS := -L. -lindirect -lreexport
4 .PHONY: build-libindirect build-libreepxoprt
5 all: build-libindirect build-libreepxoprt a.out
7 include Makefile.rules
9 build-libindirect: indirect.c
10 $(MAKE) -f $(MAKEFILE_RULES) \
11 DYLIB_C_SOURCES=indirect.c DYLIB_NAME=indirect DYLIB_ONLY=YES \
12 LD_EXTRAS="-Wl,-image_base,0x200000000"
14 build-libreepxoprt: reexport.c
15 $(MAKE) -f $(MAKEFILE_RULES) \
16 DYLIB_C_SOURCES=reexport.c DYLIB_NAME=reexport DYLIB_ONLY=YES \
17 LD_EXTRAS="-L. -lindirect -Wl,-alias_list,$(SRCDIR)/alias.list"