diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-06 23:23:54 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-06 23:23:54 +0000 |
commit | 7d13299d07a9c3c42277207ae7a691f0501a70b2 (patch) | |
tree | 981b791299c674712bacc00292de4afc6cc436ec /tests/Makefile | |
parent | 1017ebe9cb38ae034b0e7c6c449abe2c9b5284fb (diff) |
added translation cache
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/tests/Makefile b/tests/Makefile index 5fc813c236..c7d1154c00 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,9 +1,11 @@ -CC=gcc +include ../config.mak + CFLAGS=-Wall -O2 -g LDFLAGS= +ifeq ($(ARCH),i386) TESTS=hello test2 sha1 test-i386 -TESTS+=op-i386.o #op-i386.o op-ppc.o op-arm.o op-mips.o op-sparc.o +endif GEMU=../gemu @@ -24,22 +26,6 @@ test: test-i386 $(GEMU) test-i386 > test-i386.out @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi -# dyngen tests -op-i386.o: op.c - gcc $(CFLAGS) -c -o $@ $< - -op-ppc.o: op.c - powerpc-linux-gcc $(CFLAGS) -c -o $@ $< - -op-arm.o: op.c - arm-linux-gcc $(CFLAGS) -c -o $@ $< - -op-mips.o: op.c - mips-linux-gcc $(CFLAGS) -mno-abicalls -c -o $@ $< - -op-sparc.o: op.c - sparc-linux-gcc $(CFLAGS) -mflat -c -o $@ $< - # speed test sha1: sha1.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< @@ -48,6 +34,5 @@ speed: sha1 time ./sha1 time $(GEMU) sha1 -# interpreter test -interp: interp.c interploop.c - $(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -o $@ $^ +clean: + rm -f *~ *.o $(TESTS) |