hola he instalado la sdl en mi pc y estoy intentando linkarla y tal pero me da problemas

algunos tests no me los compila pero otros no

no sé.
me dice undefined reference to SDL_init
mi makefile es así:
TARGET = Comando_Suicida2
PSPSDK = $(shell psp-config --pspsdk-path)
PSPBIN = $(PSPSDK)/../bin
OBJS = testver.o
JOY = YES
CFLAGS = -Wall -Wno-long-long -G0 -O2 -DJOY_$(JOY)
CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags)
LIBS = -lSDL -lSDLmain -lSDLmain -lSDL -mwindows -lpng -lz -lstdc++ -lpsppower $(shell $(PSPBIN)/sdl-config --libs)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Comando_Suicida2_by_Eskema
include $(PSPSDK)/lib/build.mak