diff --git a/tests/Makefile b/tests/Makefile index 95112383e0..326b7335a3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,5 @@ -include ../config-host.mak +VPATH=$(SRC_PATH)/tests CFLAGS=-Wall -O2 -g -fno-strict-aliasing #CFLAGS+=-msse2 @@ -33,11 +34,11 @@ test_path: test_path.c test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ test-i386.h test-i386-shift.h test-i386-muldiv.h $(CC) -m32 $(CFLAGS) $(LDFLAGS) -static -o $@ \ - test-i386.c test-i386-code16.S test-i386-vm86.S -lm + $(