Revision 776f2227 tests/Makefile

b/tests/Makefile
6 6
ifeq ($(ARCH),i386)
7 7
TESTS=linux-test testthread sha1-i386 test-i386 runcom
8 8
endif
9
ifeq ($(ARCH),x86_64)
10
TESTS=test-x86_64
11
endif
9 12
TESTS+=sha1# test_path
10 13
#TESTS+=test_path
11 14

  
......
24 27
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
25 28
	./$@ || { rm $@; exit 1; }
26 29

  
27
# i386 emulation test (test various opcodes) */
30
# i386/x86_64 emulation test (test various opcodes) */
28 31
test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \
29 32
           test-i386.h test-i386-shift.h test-i386-muldiv.h
30
	$(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c \
31
              test-i386-code16.S test-i386-vm86.S -lm
33
	$(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \
34
              test-i386.c test-i386-code16.S test-i386-vm86.S -lm
35

  
36
test-x86_64: test-i386.c \
37
           test-i386.h test-i386-shift.h test-i386-muldiv.h
38
	$(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm
32 39

  
33 40
ifeq ($(ARCH),i386)
34 41
test: test-i386

Also available in: Unified diff