2 @rem Set the device you want to build for to 1
3 @rem Use Pixi to allow running on either device
8 @rem List your source files here
9 set SRC=src\swarm.cpp src\Pixel.cpp
11 @rem List the libraries needed
12 set LIBS=-lSDL -lpdl -lGLES_CM
14 @rem Name your output executable
17 if %PRE% equ 0 if %PIXI% equ 0 goto :END
26 set DEVICEOPTS=%DEVICEOPTS% -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
30 set DEVICEOPTS=%DEVICEOPTS% -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp
35 arm-none-linux-gnueabi-gcc %DEVICEOPTS% -o %OUTFILE% %SRC% "-I%PALMPDK%\include" "-I%PALMPDK%\include\SDL" "-L%PALMPDK%\device\lib" -Wl,--allow-shlib-undefined %LIBS%
40 echo Please select the target device by editing the PRE/PIXI variable in this file.