Makefile revision 8d3f9624838fe3f51aa71276ada9759b407a0ad3
#CFLAGS+=-msse2
#TESTS+=test_path
strip $@
./$@ || { rm $@; exit 1; }
test-x86_64: test-i386.c \
test: test-i386
./test-i386 > test-i386.ref
else
test:
# generic Linux and CPU test
linux-test: linux-test.c
# speed test
time ./sha1
# vm86 test
# NOTE: -fomit-frame-pointer is currently needed : this is a bug in libqemu
# arm test
# MIPS test
mipsel-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $<
# XXX: find a way to compile easily a test for each arch
done