[Scummvm-cvs-logs] SF.net SVN: scummvm: [24440] scummvm/trunk/backends/platform/psp/Makefile
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Sun Oct 22 16:53:33 CEST 2006
Revision: 24440
http://svn.sourceforge.net/scummvm/?rev=24440&view=rev
Author: joostp
Date: 2006-10-22 07:53:30 -0700 (Sun, 22 Oct 2006)
Log Message:
-----------
don't set CFLAGS, as we don't need them and they're now used for building the 'tools' with the native C compiler
Modified Paths:
--------------
scummvm/trunk/backends/platform/psp/Makefile
Modified: scummvm/trunk/backends/platform/psp/Makefile
===================================================================
--- scummvm/trunk/backends/platform/psp/Makefile 2006-10-22 14:16:27 UTC (rev 24439)
+++ scummvm/trunk/backends/platform/psp/Makefile 2006-10-22 14:53:30 UTC (rev 24440)
@@ -35,27 +35,26 @@
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 \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list