Skip to content

Instantly share code, notes, and snippets.

"%H %x09 %an %x09 %ad %x09 $a"
--no-pager
-- get commits
git log --pretty=format:"%H%x09%an%x09%cn%x09%at"
-- get commit message
squirrel/Makefile
sq32:
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ) $(DEFS)
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-ar rcs $(OUT) *.o
rm *.o
sqstdlib/Makefile
sq32:
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ)
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O3 -L/opt/PalmPDK/device/lib -Wl,--allow-shlib-undefined -I/opt/PalmPDK/include --sysroot=/opt/PalmPDK/arm-gcc/sysroot -c src/soil/image_DXT.c -o build/src/soil/image_DXT.c.o
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O3 -L/opt/PalmPDK/device/lib -Wl,--allow-shlib-undefined -I/opt/PalmPDK/include --sysroot=/opt/PalmPDK/arm-gcc/sysroot -c src/soil/image_helper.c -o build/src/soil/image_helper.c.o
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O3 -L/opt/PalmPDK/device/lib -Wl,--allow-shlib-undefined -I/opt/PalmPDK/include --sysroot=/opt/PalmPDK/arm-gcc/sysroot -c src/soil/SOIL.c -o build/src/soil/SOIL.c.o
/opt/PalmPDK/arm-gcc/bin/arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wno-write-strings -O3 -L/opt/PalmPDK/device/lib -W
while (SDL_PollEvent(&event)) {
if (event.type == SDL_QUIT)
in_loop = false;
}
bool in_loop = true;
do {
} while (in_loop);
PDL_Quit();
SDL_Quit();
return 0;
glMatrixMode(GL_MODELVIEW);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glMatrixMode(GL_PROJECTION);
glOrthof(0.0f, 320.0f, 480.0f, 0.0f, -1.0f, 1.0f);
screen = SDL_SetVideoMode(320, 480, 32, SDL_OPENGL);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);