diff options
author | Joost Peters | 2006-10-22 14:53:30 +0000 |
---|---|---|
committer | Joost Peters | 2006-10-22 14:53:30 +0000 |
commit | df24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8 (patch) | |
tree | e05c991ae5bf0813c1740b248860f27715302122 /backends/platform/psp/Makefile | |
parent | 2e5210a18c798d611d340e581a51b5a96a5354c7 (diff) | |
download | scummvm-rg350-df24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8.tar.gz scummvm-rg350-df24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8.tar.bz2 scummvm-rg350-df24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8.zip |
don't set CFLAGS, as we don't need them and they're now used for building the 'tools' with the native C compiler
svn-id: r24440
Diffstat (limited to 'backends/platform/psp/Makefile')
-rw-r--r-- | backends/platform/psp/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/backends/platform/psp/Makefile b/backends/platform/psp/Makefile index c6c06d4ff5..84e84e9148 100644 --- a/backends/platform/psp/Makefile +++ b/backends/platform/psp/Makefile @@ -35,27 +35,26 @@ endif INCDIR := $(srcdir) . $(srcdir)/engines/ . $(PSPSDK)/include LIBDIR := $(LIBDIR) . $(PSPSDK)/lib -CFLAGS = -O2 -Wall -D__PSP__ -DNONSTANDARD_PORT -DUSE_ZLIB -Wno-multichar `$(PSPBIN)/sdl-config --cflags` -CFLAGS := $(addprefix -I,$(INCDIR)) $(CFLAGS) +CXXFLAGS = -O2 -Wall -D__PSP__ -DNONSTANDARD_PORT -DUSE_ZLIB -Wno-multichar `$(PSPBIN)/sdl-config --cflags` +CXXFLAGS:= $(addprefix -I,$(INCDIR)) $(CXXFLAGS) LDFLAGS := $(addprefix -L,$(LIBDIR)) $(LDFLAGS) LIBS = #comment this out if you don't want to use libmad -CFLAGS += -DUSE_MAD +CXXFLAGS+= -DUSE_MAD LIBS += -lmad #comment this out if you don't want to use libtremor -CFLAGS += -DUSE_VORBIS -DUSE_TREMOR +CXXFLAGS+= -DUSE_VORBIS -DUSE_TREMOR LIBS += -lvorbisidec #comment this out if you don't want to use libmpeg2 -CFLAGS += -DUSE_MPEG2 +CXXFLAGS+= -DUSE_MPEG2 LIBS += -lmpeg2 LIBS += `$(PSPBIN)/sdl-config --libs` -lz -lstdc++ -lc -lpspdisplay -lpspgu -lpspctrl -lpspsdk -lpspnet -lpspnet_inet -lpsputility -lpspsdk -lpspuser -CXXFLAGS := $(CFLAGS) $(CXXFLAGS) -fno-exceptions -fno-rtti -ASFLAGS := $(CFLAGS) $(ASFLAGS) +CXXFLAGS := $(CXXFLAGS) -fno-exceptions -fno-rtti TARGET = scummvm-psp OBJS := psp_main.o \ |