From ab133e9f982fe55d76d12a222c9329cb1f84aec2 Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Tue, 19 Apr 2011 05:49:37 +0000 Subject: [PATCH] Err, stupid of me. Now passing in the PSPENV flag correctly... --- JGE/Makefile | 3 +-- projects/mtg/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/JGE/Makefile b/JGE/Makefile index 89d3d2973..30df89337 100644 --- a/JGE/Makefile +++ b/JGE/Makefile @@ -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) diff --git a/projects/mtg/Makefile b/projects/mtg/Makefile index 764ac353e..0d88de228 100644 --- a/projects/mtg/Makefile +++ b/projects/mtg/Makefile @@ -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