Skip to content
Snippets Groups Projects
Commit ecba8846 authored by Frederic Riss's avatar Frederic Riss
Browse files

Fix TestExec after r334783

The second makefile that was added has implicit rules which meant
that secondprog.cpp would be built once into a secondprog binary,
but it would also be compiled as a.out overwriting the main binary.
This lead to spurious failures.

This commit simplifies the Makefile to build only once with the correct
executable name.

llvm-svn: 334861
parent 56d9aa26
No related branches found
No related tags found
No related merge requests found
LEVEL = ../../make
CXX_SOURCES := secondprog.cpp
all: secondprog
secondprog:
$(CXX) $(CXXFLAGS) -o secondprog $(SRCDIR)/secondprog.cpp
clean::
rm -rf secondprog secondprog.dSYM
EXE = secondprog
include $(LEVEL)/Makefile.rules
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment