[cfe-commits] r62614 - /cfe/trunk/Makefile
Mike Stump
mrs at apple.com
Tue Jan 20 13:10:41 PST 2009
Author: mrs
Date: Tue Jan 20 15:10:41 2009
New Revision: 62614
URL: http://llvm.org/viewvc/llvm-project?rev=62614&view=rev
Log:
Fix make test when configuring for a seperate build directory.
Modified:
cfe/trunk/Makefile
Modified: cfe/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Makefile?rev=62614&r1=62613&r2=62614&view=diff
==============================================================================
--- cfe/trunk/Makefile (original)
+++ cfe/trunk/Makefile Tue Jan 20 15:10:41 2009
@@ -3,6 +3,14 @@
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
More information about the cfe-commits
mailing list