summaryrefslogtreecommitdiffstats
path: root/utils/VtableTest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/VtableTest/Makefile')
-rw-r--r--utils/VtableTest/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/utils/VtableTest/Makefile b/utils/VtableTest/Makefile
index 0e06026..dd615ae 100644
--- a/utils/VtableTest/Makefile
+++ b/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