Err, stupid of me. Now passing in the PSPENV flag correctly...

This commit is contained in:
wrenczes@gmail.com
2011-04-19 05:49:37 +00:00
parent 79835dda33
commit ab133e9f98
2 changed files with 2 additions and 4 deletions

View File

@@ -81,10 +81,9 @@ ifeq ($(TARGET_ARCHITECTURE),psp)
PSPSDK = $(shell psp-config --pspsdk-path)
PSPDIR = $(shell psp-config --psp-prefix)
OBJS = $(GENERIC_OBJS) $(PSP_OBJS)
PSPENV = 1
TARGET_HGE = libhgetools.a
INCDIR = include/psp include/psp/freetype2 ../Boost
CXXFLAGS += -O2 -G0
CXXFLAGS += -O2 -G0 -DPSPENV
LIBDIR = lib/psp
endif
ifeq ($(TARGET_ARCHITECTURE),linux)

View File

@@ -27,7 +27,6 @@ TARGET_ARCHITECTURE = psp
PSP_FW_VERSION=371
BUILD_PRX = 1
#SIGN_PRX = 1
PSPENV = 1
LIBS = -ljge300 -lhgetools -lfreetype -ljpeg -lgif -lpng -lz -lm -lmikmod -lpsppower -lpspmpeg -lpspaudiocodec -lpspaudiolib -lpspaudio -lpspmp3 -lpspgum -lpspgu -lpsprtc -lstdc++ -lpspfpu
EXTRA_TARGETS = EBOOT.PBP
@@ -38,7 +37,7 @@ PSP_EBOOT_UNKPNG = pic0.png
PSP_EBOOT_PIC1 = pic1.png
INCDIR = ../../JGE/include ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src ../../projects/mtg/include ../../Boost
LIBDIR = ../../JGE/lib/psp
CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1
CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1 -DPSPENV
else
OBJS += objs/TestSuiteAI.o
INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I../../Boost