summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-24 21:52:55 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-24 21:52:55 +0000
commite50c05244f867face872d711b1586f707c586dcc (patch)
treefff5f1b8fdeb36846e7ca4a74d1dd1b193256e19 /clang
parent834392fcc63fe4856aa7308195e572aea5f7744e (diff)
downloadbcm5719-llvm-e50c05244f867face872d711b1586f707c586dcc.tar.gz
bcm5719-llvm-e50c05244f867face872d711b1586f707c586dcc.zip
make the vtable tester a little friendlier, with a clean target and without requiring . to be in your path
llvm-svn: 99433
Diffstat (limited to 'clang')
-rw-r--r--clang/utils/VtableTest/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/clang/utils/VtableTest/Makefile b/clang/utils/VtableTest/Makefile
index 0e060267903..dd615aef6a9 100644
--- a/clang/utils/VtableTest/Makefile
+++ b/clang/utils/VtableTest/Makefile
@@ -5,17 +5,20 @@ all: one
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
+
+clean:
+ rm -f gen test-gcc test-clang test.cc test-gcc.sum test-clang.sum test-gcc.s test-clang.s
OpenPOWER on IntegriCloud