7 TESTS
=hello test2 sha1 test-i386
15 $(CC
) -nostdlib
$(CFLAGS
) -static
$(LDFLAGS
) -o
$@
$<
18 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
20 # i386 emulation test (dump various opcodes) */
21 test-i386
: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h
22 $(CC
) $(CFLAGS
) $(LDFLAGS
) -static
-o
$@
$< -lm
25 .
/test-i386
> test-i386.ref
26 $(GEMU
) test-i386
> test-i386.out
27 @if diff
-u test-i386.ref test-i386.out
; then echo
"Auto Test OK"; fi
31 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<