7 TESTS=test2 sha1-i386 test-i386
16 $(CC) -nostdlib $(CFLAGS) -static $(LDFLAGS) -o $@ $<
20 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
22 # i386 emulation test (test various opcodes) */
23 test-i386: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h
24 $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ $< -lm
28 ./test-i386 > test-i386.ref
30 $(GEMU) test-i386 > test-i386.out
31 @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi
35 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
38 $(HOST_CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
42 time $(GEMU) ./sha1-i386