Subversion Repositories psp

[/] [trunk/] [pl_test/] [Makefile] - Rev 366

Go to most recent revision | Compare with Previous | Blame | View Log

PSPSDK=$(shell psp-config --pspsdk-path)

PSPAPP=psp
PSPLIB=../libpl

PSP_FW_VERSION=200
export PSP_FW_VERSION

PSP_APP_NAME=pl test
PSP_APP_VER=1.0

TARGET=fusepsp
EXTRA_TARGETS=EBOOT.PBP
PSP_EBOOT_TITLE=$(PSP_APP_NAME) $(PSP_APP_VER)

BUILD_PORT=pspui.o

OBJS=$(BUILD_PORT)

DEFINES=-DFUSEDATADIR="\"system\"" -DSOUND_BUFFER_SIZE=368 \
        -DPATH_MAX=2048
BASE_DEFS=-DPSP -DPSP_APP_VER=\"$(PSP_APP_VER)\" \
          -DPSP_APP_NAME="\"$(PSP_APP_NAME)\""
CFLAGS=-O2 -G0 -Wall $(BASE_DEFS) $(DEFINES)
CXXFLAGS=$(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS=$(CFLAGS)
INCDIR=. $(PSPLIB)/include
LIBDIR=$(PSPLIB)/lib
LIBS=-lpl -lpng -lpspgu -lpsppower -lz -lm -lc -lpspaudio -lpsprtc \
     -lpspwlan -lpspnet_adhoc -lpspnet_adhocctl -lpspnet_adhocmatching

all: build_libs
clean: clean_libs

include $(PSPSDK)/lib/build.mak

build_libs:
        cd $(PSPLIB) ; $(MAKE)
clean_libs:
        cd $(PSPLIB) ; $(MAKE) clean

Go to most recent revision | Compare with Previous | Blame | View Log