source: trunk/monsterz/ps3/Makefile @ 828

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

ps3: if the implementation supports Cg but not GLSL (for instance on the PS3),
use the system's Cg compiler.

File size: 703 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
25include $(CELL_SDK)/samples/sdk/graphics/psgl/MakeRules
26
Note: See TracBrowser for help on using the repository browser.