30 |
./$@ || { rm $@; exit 1; } |
./$@ || { rm $@; exit 1; } |
31 |
|
|
32 |
# i386 emulation test (test various opcodes) */ |
# i386 emulation test (test various opcodes) */ |
33 |
test-i386: test-i386.c test-i386-code16.S \ |
test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ |
34 |
test-i386.h test-i386-shift.h test-i386-muldiv.h |
test-i386.h test-i386-shift.h test-i386-muldiv.h |
35 |
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ test-i386.c test-i386-code16.S -lm |
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ test-i386.c \ |
36 |
|
test-i386-code16.S test-i386-vm86.S -lm |
37 |
|
|
38 |
test: test-i386 |
test: test-i386 |
39 |
ifeq ($(ARCH),i386) |
ifeq ($(ARCH),i386) |