diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-03-24 21:52:55 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-03-24 21:52:55 +0000 |
| commit | e50c05244f867face872d711b1586f707c586dcc (patch) | |
| tree | fff5f1b8fdeb36846e7ca4a74d1dd1b193256e19 /clang | |
| parent | 834392fcc63fe4856aa7308195e572aea5f7744e (diff) | |
| download | bcm5719-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/Makefile | 9 |
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 |

