Pavel Labath 64325c51ad Split makefile for TestTopLevelExprs
this test was using a single makefile to build two executables. This
setup, although not supported by Makefile.rules, happened to
work in most configurations, except when building with the android ndk
r16.

Here I move the building of the second executable to a separate
makefile, which is the solution other tests use for multiple targets.

llvm-svn: 316982
2017-10-31 10:01:30 +00:00

14 lines
165 B
Makefile

LEVEL = ../../make
CXX_SOURCES := main.cpp test.cpp
include $(LEVEL)/Makefile.rules
a.out: dummy
dummy:
$(MAKE) -f dummy.mk
clean::
$(MAKE) -f dummy.mk clean