source: trunk/monsterz/ps3/Makefile @ 839

Last change on this file since 839 was 839, checked in by sam, 8 years ago

ps3: get rid of the useless and convoluted padutil dependency; the
standard pad API is perfect for us.

File size: 820 bytes
Line 
1
2include $(CELL_SDK)/samples/sdk/graphics/psgl/MakeDefs
3
4include ../../src/Makefile.am
5include ../Makefile.am
6SUBDIRS :=
7
8LOL_SRC = ../../src
9MONSTERZ_SRC = ..
10
11PPU_INCDIRS += -I$(LOL_SRC) -I$(MONSTERZ_SRC)
12PPU_CPPFLAGS += -DHAVE_GLES_2X
13PPU_CXXSTDFLAGS += -fno-exceptions
14PPU_SRCS := \
15    $(addprefix $(LOL_SRC)/, $(filter-out %.h sdl%, $(liblol_a_SOURCES))) \
16    $(addprefix $(MONSTERZ_SRC)/, $(filter %.cpp, $(monsterz_SOURCES)))
17
18PPU_TARGET := monsterz.elf
19PPU_LDLIBS := -lsysmodule_stub -lsysutil_stub -lresc_stub
20
21# For PSGL
22PPU_LDLIBS += -lPSGL -lgcm_cmd -lgcm_sys_stub
23
24# For the runtime Cg compiler
25PPU_LDLIBS += -lcgc -lPSGLcgc
26
27# For the PNG decoder
28PPU_LDLIBS += -lpngdec_stub
29
30# For the pad library
31PPU_LDLIBS += -lio_stub -lusbd_stub -lpadfilter
32
33include $(CELL_SDK)/samples/sdk/graphics/psgl/MakeRules
34
Note: See TracBrowser for help on using the repository browser.