Files
clang-p2996/lldb/test/API/commands/expression/weak_symbols/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

21 lines
515 B
Makefile

C_SOURCES := main.c
CFLAGS_EXTRAS := -std=c99 -fmodules
LD_EXTRAS := -ldylib -L.
all: a.out hidden/libdylib.dylib
a.out: libdylib.dylib
include Makefile.rules
libdylib.dylib: dylib.c
"$(MAKE)" -C $(BUILDDIR) -f $(MAKEFILE_RULES) \
C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
CFLAGS_EXTRAS=-DHAS_THEM LD_EXTRAS=-dynamiclib
hidden/libdylib.dylib:
mkdir hidden
"$(MAKE)" -C $(BUILDDIR)/hidden -f $(MAKEFILE_RULES) \
C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
LD_EXTRAS=-dynamiclib