From 7d13299d07a9c3c42277207ae7a691f0501a70b2 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 6 Mar 2003 23:23:54 +0000 Subject: added translation cache git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162 --- tests/Makefile | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 5fc813c..c7d1154 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) -- cgit v1.1