Files
clang-p2996/lldb/test/API/macosx/indirect_symbol/Makefile
Stefan Gränitz 3ef630ac33 [lldb] Support tests with nested make invocations on Windows 2/2 (#112360)
Following up from https://github.com/llvm/llvm-project/pull/112342, we
roll out the fix and quote nested `make` invocations in all API tests.
2024-10-16 13:07:02 +02:00

18 lines
548 B
Makefile

C_SOURCES := main.c
LD_EXTRAS := -L. -lindirect -lreexport
.PHONY: build-libindirect build-libreepxoprt
all: build-libindirect build-libreepxoprt a.out
include Makefile.rules
build-libindirect: indirect.c
"$(MAKE)" -f $(MAKEFILE_RULES) \
DYLIB_C_SOURCES=indirect.c DYLIB_NAME=indirect DYLIB_ONLY=YES \
LD_EXTRAS="-Wl,-image_base,0x200000000"
build-libreepxoprt: reexport.c
"$(MAKE)" -f $(MAKEFILE_RULES) \
DYLIB_C_SOURCES=reexport.c DYLIB_NAME=reexport DYLIB_ONLY=YES \
LD_EXTRAS="-L. -lindirect -Wl,-alias_list,$(SRCDIR)/alias.list"