summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile10
1 files changed, 4 insertions, 6 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
OpenPOWER on IntegriCloud