summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile b/lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile
index aa9922b390a..3e5b1049b5a 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/commands/target/create-deps/Makefile
@@ -1,14 +1,10 @@
-LIB_PREFIX := load_
-
-LD_EXTRAS := -L. -l$(LIB_PREFIX)a
+LD_EXTRAS := -L. -lload_a
CXX_SOURCES := main.cpp
-include Makefile.rules
-
-a.out: lib_a
+a.out: libload_a
-lib_%:
- $(MAKE) VPATH=$(SRCDIR) -I $(SRCDIR) -f $(SRCDIR)/$*.mk
+include Makefile.rules
-clean::
- $(MAKE) -f $(SRCDIR)/a.mk clean
+libload_a:
+ $(MAKE) -f $(MAKEFILE_RULES) \
+ DYLIB_ONLY=YES DYLIB_NAME=load_a DYLIB_CXX_SOURCES=a.cpp
OpenPOWER on IntegriCloud