Summary: The current Makefile scheme only allows one dylib to be specified in each make invocation, so TestLoadUnload had a custom Makefile that's unrelated to the base Makefile.rules. This change uses recursive make invocations to bypass the single dylib restriction. See D11202 for more context. Reviewers: clayborg Subscribers: chaoren, lldb-commits Differential Revision: http://reviews.llvm.org/D11367 llvm-svn: 242813
25 lines
379 B
Makefile
25 lines
379 B
Makefile
LEVEL := ../../make
|
|
|
|
LIB_PREFIX := loadunload_
|
|
|
|
LD_EXTRAS := -L. -l$(LIB_PREFIX)d -ldl
|
|
C_SOURCES := main.c
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
.PHONY:
|
|
a.out: lib_a lib_b lib_c lib_d hidden_lib_d
|
|
|
|
lib_%:
|
|
$(MAKE) -f $*.mk
|
|
|
|
hidden_lib_d:
|
|
$(MAKE) -C hidden
|
|
|
|
clean::
|
|
$(MAKE) -f a.mk clean
|
|
$(MAKE) -f b.mk clean
|
|
$(MAKE) -f c.mk clean
|
|
$(MAKE) -f d.mk clean
|
|
$(MAKE) -C hidden clean
|