mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-31 12:47:32 +00:00
Update all samples to new requirements, and expose a makefile to compile all of them
This commit is contained in:
@@ -2,7 +2,7 @@ TARGET = beginobject
|
||||
OBJS = beginobject.o ../common/callbacks.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = blend
|
||||
OBJS = blend.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = blit
|
||||
OBJS = blit.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = celshading
|
||||
OBJS = lightmap.o celshading.o ../common/callbacks.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = clut
|
||||
OBJS = clut.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ int SetupCallbacks(void)
|
||||
{
|
||||
int thid = 0;
|
||||
|
||||
thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
|
||||
thid = sceKernelCreateThread("update_thread", CallbackThread, 0x18, 0xFA0, 0, 0);
|
||||
if(thid >= 0)
|
||||
{
|
||||
sceKernelStartThread(thid, 0, 0);
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = copy
|
||||
OBJS = copy.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = cube
|
||||
OBJS = cube.o logo.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = envmap
|
||||
OBJS = envmap.o env0.o ../common/callbacks.o ../common/geometry.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = integerdrawing
|
||||
OBJS = integerdrawing.o ../common/callbacks.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = lights
|
||||
OBJS = lights.o ../common/callbacks.o ../common/geometry.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = lines
|
||||
OBJS = lines.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = logic
|
||||
OBJS = logic.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = MIPMAPPING
|
||||
OBJS = mipmapping.o mip0.o mip1.o mip2.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = morph
|
||||
OBJS = morph.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = morphskin
|
||||
OBJS = morphskin.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ PSPDIR=$(shell psp-config --psp-prefix)
|
||||
TARGET = ortho
|
||||
OBJS = ortho.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
CFLAGS = -O2 -G0 -Wall -g
|
||||
CFLAGS = -O2 -Wall -g
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = reflection
|
||||
OBJS = reflection.o logo.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = rendertarget
|
||||
OBJS = rendertarget.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = shadowprojection
|
||||
OBJS = shadowprojection.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = signals
|
||||
OBJS = signals.o ball.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = skinning
|
||||
OBJS = skinning.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
@@ -14,5 +14,4 @@ EXTRA_TARGETS = EBOOT.PBP
|
||||
PSP_EBOOT_TITLE = Matrix Skinning Sample
|
||||
|
||||
PSPSDK=$(shell psp-config --pspsdk-path)
|
||||
USE_PSPSDK_LIBC=1
|
||||
include $(PSPSDK)/lib/build.mak
|
||||
@@ -2,7 +2,7 @@ TARGET = speed
|
||||
OBJS = speed.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = spharm
|
||||
OBJS = cube.o spharm.o disablefpu.o mt19937.o logo.o logo2.o logo3.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -fno-exceptions
|
||||
CFLAGS = -Wall -fno-exceptions
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = splinesurface
|
||||
OBJS = splinesurface.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = sprite
|
||||
OBJS = sprite.o ball.o ../common/callbacks.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = gufont
|
||||
OBJS = font.c main.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall -O2
|
||||
CFLAGS = -Wall -O2
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = timing
|
||||
OBJS = timing.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = vertex
|
||||
OBJS = vertex.o ../common/callbacks.o ../common/vram.o ../common/menu.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ TARGET = zbufferfog
|
||||
OBJS = zbufferfog.o ../common/callbacks.o ../common/geometry.o ../common/vram.o
|
||||
|
||||
INCDIR =
|
||||
CFLAGS = -G0 -Wall
|
||||
CFLAGS = -Wall
|
||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user