source: trunk/monsterz/ps3/Makefile @ 838

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

ps3: add a simple PS3 input system that currently merely emulates mouse
movements with the right stick and one mouse button with the L1 or R1 buttons.

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