Ignore:
Timestamp:
Aug 20, 2011, 1:35:15 AM (10 years ago)
Author:
sam
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/ps3/Makefile

    r838 r839  
    66SUBDIRS :=
    77
    8 GFX_COMMON = $(CELL_SDK)/samples/sdk/graphics/psgl/Common
    98LOL_SRC = ../../src
    109MONSTERZ_SRC = ..
    1110
    1211PPU_INCDIRS += -I$(LOL_SRC) -I$(MONSTERZ_SRC)
    13 PPU_CPPFLAGS += -DPSGL -DHAVE_GLES_2X
     12PPU_CPPFLAGS += -DHAVE_GLES_2X
    1413PPU_CXXSTDFLAGS += -fno-exceptions
    1514PPU_SRCS := \
    16     $(addprefix $(LOL_SRC)/, $(filter-out %.h sdl%, ps3app.cpp $(liblol_a_SOURCES))) \
     15    $(addprefix $(LOL_SRC)/, $(filter-out %.h sdl%, $(liblol_a_SOURCES))) \
    1716    $(addprefix $(MONSTERZ_SRC)/, $(filter %.cpp, $(monsterz_SOURCES)))
    18  
    19 PPU_TARGET := monsterz.elf
    20 PPU_LDLIBS := $(GRAPHICS_SAMPLE_CORE_LIBS)
     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
    2123
    2224# For the runtime Cg compiler
     
    2628PPU_LDLIBS += -lpngdec_stub
    2729
    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
     30# For the pad library
     31PPU_LDLIBS += -lio_stub -lusbd_stub -lpadfilter
    3232
    3333include $(CELL_SDK)/samples/sdk/graphics/psgl/MakeRules
Note: See TracChangeset for help on using the changeset viewer.