summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/exec
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/exec')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile10
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk4
2 files changed, 4 insertions, 10 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile
index b3af2bb69fe..afc520010ee 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile
@@ -1,11 +1,9 @@
CXX_SOURCES := main.cpp
-all: a.out secondprog
+all: secondprog
include Makefile.rules
-secondprog:
- $(MAKE) VPATH=$(VPATH) -f $(SRCDIR)/secondprog.mk
-
-clean::
- $(MAKE) -f $(SRCDIR)/secondprog.mk clean
+secondprog: secondprog.cpp
+ $(MAKE) -f $(MAKEFILE_RULES) \
+ CXX_SOURCES=secondprog.cpp EXE=secondprog
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk
deleted file mode 100644
index 63efccc68ed..00000000000
--- a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-CXX_SOURCES := secondprog.cpp
-EXE = secondprog
-
-include Makefile.rules
OpenPOWER on IntegriCloud