[cfe-commits] r99433 - /cfe/trunk/utils/VtableTest/Makefile

Douglas Gregor dgregor at apple.com
Wed Mar 24 14:52:55 PDT 2010

Author: dgregor
Date: Wed Mar 24 16:52:55 2010
New Revision: 99433

URL: http://llvm.org/viewvc/llvm-project?rev=99433&view=rev
make the vtable tester a little friendlier, with a clean target and without requiring . to be in your path


Modified: cfe/trunk/utils/VtableTest/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/VtableTest/Makefile?rev=99433&r1=99432&r2=99433&view=diff
--- cfe/trunk/utils/VtableTest/Makefile (original)
+++ cfe/trunk/utils/VtableTest/Makefile Wed Mar 24 16:52:55 2010
@@ -5,17 +5,20 @@
 test.cc: gen.cc
 	g++ gen.cc -o gen
-	gen >test.cc
+	./gen >test.cc
 test-gcc.sum: test.cc
 	time $(GXX) test.cc -o test-gcc.s -S
 	$(GXX) test-gcc.s -o test-gcc
-	test-gcc >test-gcc.sum
+	./test-gcc >test-gcc.sum
 test-clang.sum: test.cc
 	time $(CLANGXX) test.cc -o test-clang.s -S
 	$(CLANGXX) test-clang.s -o test-clang
-	test-clang >test-clang.sum
+	./test-clang >test-clang.sum
 one: test-gcc.sum test-clang.sum
 	cmp test-gcc.sum test-clang.sum
+	rm -f gen test-gcc test-clang test.cc test-gcc.sum test-clang.sum test-gcc.s test-clang.s

More information about the cfe-commits mailing list