Subversion Repositories pspware

Rev

Rev 346 | Rev 356 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 346 Rev 350
Line 1... Line 1...
1
BUILD_PRX=1
1
BUILD_PRX=1
2
PRX_EXPORTS=src/exports.exp
2
PRX_EXPORTS=src/exports.exp
3
3
4
TARGET = luaplayer
4
TARGET = luaplayer
5
OBJS = src/graphics.o src/sound.o src/luaplayer.o src/utility.o src/main.o src/framebuffer.o \
5
OBJS = src/graphics.o src/sound.o src/luaplayer.o src/utility.o src/main.o src/framebuffer.o \
6
	src/luacontrols.o src/luagraphics.o src/luasound.o src/luatimer.o src/luasystem.o src/luawlan.o src/lua3d.o
6
	src/luacontrols.o src/luagraphics.o src/luasound.o src/luatimer.o src/luasystem.o src/luawlan.o src/lua3d.o loadlib.o
7
INCDIR =
7
INCDIR =
8
CFLAGS = -g -G0 -Wall -O0 -fno-strict-aliasing -mno-explicit-relocs $(EXTRA_CFLAGS) $(shell freetype-config --cflags)
8
CFLAGS = -g -G0 -Wall -O0 -fno-strict-aliasing -mno-explicit-relocs $(EXTRA_CFLAGS) $(shell freetype-config --cflags)
9
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
9
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
10
ASFLAGS = $(CFLAGS)
10
ASFLAGS = $(CFLAGS)
11
LIBDIR =
11
LIBDIR =
Line 18... Line 18...
18
EXTRA_CLEAN = moreclean
18
EXTRA_CLEAN = moreclean
19
PSPSDK=$(shell psp-config --pspsdk-path)
19
PSPSDK=$(shell psp-config --pspsdk-path)
20
20
21
include $(PSPSDK)/lib/build.mak
21
include $(PSPSDK)/lib/build.mak
22
22
-
 
23
loadlib.S: modules/loadlib/exports.exp
-
 
24
	$(shell psp-config --pspdev-path)/bin/psp-build-exports --build-stubs $<
-
 
25
23
src/main.o: boot.cpp vera.cpp veraMono.cpp
26
src/main.o: boot.cpp vera.cpp veraMono.cpp
24
27
25
boot.cpp: src/auxiliary/boot.lua
28
boot.cpp: src/auxiliary/boot.lua
26
	$(shell psp-config --pspdev-path)/bin/bin2c $< $@ bootString
29
	$(shell psp-config --pspdev-path)/bin/bin2c $< $@ bootString
27
30