Files
clang-p2996/lldb/test/API/lang/objc/modules-hash-mismatch/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

17 lines
395 B
Makefile

OBJC_SOURCES := main.m
CFLAGS_EXTRAS = -I$(BUILDDIR)
USE_PRIVATE_MODULE_CACHE = YES
.PHONY: update-module
all: $(EXE)
"$(MAKE)" -f $(SRCDIR)/Makefile update-module
include Makefile.rules
update-module:
echo "forcing an update of f.pcm"
echo "typedef int something_other;" > $(BUILDDIR)/f.h
$(CC) $(CFLAGS) $(MANDATORY_MODULE_BUILD_CFLAGS) \
-c $(SRCDIR)/other.m -o $(BUILDDIR)/other.o