5 TESTS
=hello test1 test2 sha1 test-i386
11 $(CC
) -nostdlib
$(CFLAGS
) -static
$(LDFLAGS
) -o
$@
$<
14 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
17 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
19 # i386 emulation test (dump various opcodes) */
20 test-i386
: test-i386.c test-i386.h test-i386-shift.h
21 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
24 .
/test-i386
> test-i386.ref
25 $(GEMU
) test-i386
> test-i386.out
26 @if diff
-u test-i386.ref test-i386.out
; then echo
"Auto Test OK"; fi
30 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$<
37 interp
: interp.c interploop.c
38 $(CC
) $(CFLAGS
) -fomit-frame-pointer
$(LDFLAGS
) -o
$@
$^