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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits