Updating built in Io code to use += instead of x = x + y
[io/quag.git] / libs / basekit / source / simd_cph / test / Makefile
blob8f9d3c47bc80f65a52cf8c13b6ec8d3e8188a7fb
2 CC = gcc
4 # X86
5 #COPTS = -I../include -g -O2 -mmmx -msse
6 #PLATFORM = X86
7 DIS = objdump -d -S
9 # EMULATED
10 COPTS = -I../include -D__SIMD_EMU__ -g -O2
11 PLATFORM = emu
13 default: test_simd.c emulated
14 ${CC} ${COPTS} -o test_simd_${PLATFORM} test_simd.c
16 emulated: test_simd.c
17 ${CC} ${COPTS} -D__SIMD_EMU__ -o test_simd_emu test_simd.c
19 xdiff: default emulated
20 ${DIS} test_simd_${PLATFORM} > test_simd_${PLATFORM}.dis
21 ${DIS} test_simd_emu > test_simd_emu.dis
22 xdiff test_simd_emu.dis test_simd_${PLATFORM}.dis
24 clean:
25 rm test_simd_${PLATFORM} test_simd_emu *.dis