Subversion Repositories pspware

Compare Revisions

Ignore whitespace Rev 290 → Rev 291

/trunk/LuaPlayer/Makefile.psp.common
1,12 → 1,12
OBJS = src/graphics.o src/sound.o src/luaplayer.o src/utility.o src/main.o src/framebuffer.o src/sio.o \
src/luacontrols.o src/luagraphics.o src/luasound.o src/luatimer.o src/luasystem.o src/luawlan.o src/lua3d.o
INCDIR =
CFLAGS = -G0 -Wall -O2 -fno-strict-aliasing $(EXTRA_CFLAGS)
CFLAGS = -G0 -Wall -O2 -fno-strict-aliasing $(EXTRA_CFLAGS) $(shell freetype-config --cflags)
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS= -llua -llualib -lpng -ljpeg -lz -lpspgum -lpspgu -lm -lmikmod -lmmio \
LIBS= -llua -llualib -lpng -ljpeg -lz -lpspgum -lpspgu -lm -lmikmod -lmmio $(shell freetype-config --libs) \
-lpspaudiolib -lpspaudio -lpspusb -lpspusbstor -lpsppower -lpspdebug -lpsphprm_driver -lpsputility \
-lpspwlan -lpspsdk -lpspnet_apctl -lpspnet_resolver -lpspnet_inet -lpspnet
# TODO: without -lpspsdk it says: libpspsdk.a(inethelper.o): In function `pspSdkInetInit': inethelper.c:67: undefined reference to `sceNetInit'
17,11 → 17,20
 
include $(PSPSDK)/lib/build.mak
 
src/main.o: boot.cpp
src/main.o: boot.cpp vera.cpp veraMono.cpp
 
boot.cpp: src/auxiliary/boot.lua
$(shell psp-config --pspdev-path)/bin/bin2c $< $@ bootString
 
vera.cpp: src/auxiliary/Vera.ttf
$(shell psp-config --pspdev-path)/bin/bin2c $< $@ ttfVera
 
veraMono.cpp: src/auxiliary/VeraMono.ttf
$(shell psp-config --pspdev-path)/bin/bin2c $< $@ ttfVeraMono
 
.PHONY: moreclean
moreclean:
-rm -f boot.cpp
-rm -f vera.cpp
-rm -f veraMono.cpp