diff options
author | Joost Peters | 2009-11-24 12:10:39 +0000 |
---|---|---|
committer | Joost Peters | 2009-11-24 12:10:39 +0000 |
commit | 3d7155bd62efeba2c8323d47bb4ace46aa2ec73f (patch) | |
tree | 0c2681968a7d8aea1671b450b580baad34179855 /backends/platform | |
parent | e5a919e1326fabad3be1a036c86d0d3cb58a8e9c (diff) | |
download | scummvm-rg350-3d7155bd62efeba2c8323d47bb4ace46aa2ec73f.tar.gz scummvm-rg350-3d7155bd62efeba2c8323d47bb4ace46aa2ec73f.tar.bz2 scummvm-rg350-3d7155bd62efeba2c8323d47bb4ace46aa2ec73f.zip |
fix building via Makefile
svn-id: r46123
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/psp/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/psp/Makefile b/backends/platform/psp/Makefile index 9bf24f7385..8413a12eb1 100644 --- a/backends/platform/psp/Makefile +++ b/backends/platform/psp/Makefile @@ -120,14 +120,15 @@ ENABLED = STATIC_PLUGIN endif # SDL Libs and Flags -SDLFLAGS := $(shell $(PSPBIN)/sdl-config --cflags) +SDLFLAGS := $(shell $(PSPBIN)/sdl-config --cflags) +SDLLIBS := $(shell $(PSPBIN)/sdl-config --libs) # PSP LIBS PSPLIBS = -lpspvfpu -lpspdebug -lpspgu -lpspge -lpspdisplay -lpspctrl -lpspsdk \ -lpsputility -lpspuser -lpsppower -lpsphprm -lpspsdk -lpsprtc -lpspaudio # Add in PSPSDK includes and libraries. CXXFLAGS += $(SDLFLAGS) -LIBS += -L$(PSPSDK)/../lib -L$(PSPSDK)/lib -lSDLmain -lSDL -lGL -lpng -lz -lstdc++ -lc -lm $(PSPLIBS) +LIBS += -lpng -lz -lstdc++ -lc $(SDLLIBS) $(PSPLIBS) OBJS := powerman.o \ psp_main.o \ |