5 TESTS
=hello test2 sha1 test-i386
6 TESTS
+=op-i386.o
#op-i386.o op-ppc.o op-arm.o op-mips.o op-sparc.o
13 $(CC
) -nostdlib
$(CFLAGS
) -static
$(LDFLAGS
) -o
$@
$<
16 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
18 # i386 emulation test (dump various opcodes) */
19 test-i386
: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h
20 $(CC
) $(CFLAGS
) $(LDFLAGS
) -static
-o
$@
$< -lm
23 .
/test-i386
> test-i386.ref
24 $(GEMU
) test-i386
> test-i386.out
25 @if diff
-u test-i386.ref test-i386.out
; then echo
"Auto Test OK"; fi
29 gcc
$(CFLAGS
) -c
-o
$@
$<
32 powerpc-linux-gcc
$(CFLAGS
) -c
-o
$@
$<
35 arm-linux-gcc
$(CFLAGS
) -c
-o
$@
$<
38 mips-linux-gcc
$(CFLAGS
) -mno-abicalls
-c
-o
$@
$<
41 sparc-linux-gcc
$(CFLAGS
) -mflat
-c
-o
$@
$<
45 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
52 interp
: interp.c interploop.c
53 $(CC
) $(CFLAGS
) -fomit-frame-pointer
$(LDFLAGS
) -o
$@
$^