summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/load_unload/a.mk')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/a.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk b/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk
index 0eb810e21787..fddca925dea2 100644
--- a/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk
+++ b/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk
@@ -2,22 +2,18 @@ LEVEL := ../../make
LIB_PREFIX := loadunload_
-CFLAGS_EXTRAS := -fPIC
LD_EXTRAS := -L. -l$(LIB_PREFIX)b
DYLIB_NAME := $(LIB_PREFIX)a
DYLIB_CXX_SOURCES := a.cpp
DYLIB_ONLY := YES
-CXXFLAGS += -fPIC
-
include $(LEVEL)/Makefile.rules
-.PHONY:
$(DYLIB_FILENAME): lib_b
-lib_b:
- "$(MAKE)" -f b.mk
+.PHONY lib_b:
+ $(MAKE) VPATH=$(SRCDIR) -I $(SRCDIR) -f $(SRCDIR)/b.mk
clean::
- "$(MAKE)" -f b.mk clean
+ $(MAKE) -I $(SRCDIR) -f $(SRCDIR)/b.mk clean