Skip to content
Snippets Groups Projects
Commit adc981a3 authored by Mike Stump's avatar Mike Stump
Browse files

Fix make test when configuring for a seperate build directory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62614 91177308-0d34-0410-b5e6-96231b3b80d8
parent 1833a833
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,14 @@ DIRS := lib Driver docs tools
include $(LEVEL)/Makefile.common
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
test::
$(Verb) if [ ! -f test/Makefile ]; then \
$(MKDIR) test; \
$(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \
fi
endif
test::
@ $(MAKE) -C test
......
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