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