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.
17 lines
395 B
Makefile
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
|