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.
16 lines
323 B
Makefile
16 lines
323 B
Makefile
CXX_SOURCES := main.cpp
|
|
ENABLE_THREADS := YES
|
|
LD_EXTRAS := -L. -lbaz -I.
|
|
|
|
override TRIPLE := $(shell $(CC) -dumpmachine)
|
|
|
|
CXXFLAGS_EXTRAS := -target $(TRIPLE)
|
|
|
|
all: libbaz.dylib a.out
|
|
|
|
libbaz.dylib: baz.cpp
|
|
"$(MAKE)" -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_NAME=baz DYLIB_CXX_SOURCES=baz.cpp
|
|
|
|
include Makefile.rules
|