Added a PSPENV environment variable to the psp make files. Also fixed a minor compile bug where the debug flag for psp forced JLOG support, which in turn enabled a JGE_LOG_FILE macro that has long since been removed from the code.
This commit is contained in:
+2
-1
@@ -33,7 +33,7 @@ HGE_OBJS = src/hge/hgecolor.o src/hge/hgeparticle.o \
|
|||||||
CXXFLAGS = -W -Wall -Werror -Wno-unused
|
CXXFLAGS = -W -Wall -Werror -Wno-unused
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CXXFLAGS += -ggdb3 -DDOJLOG
|
CXXFLAGS += -ggdb3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef DOLOG
|
ifdef DOLOG
|
||||||
@@ -81,6 +81,7 @@ ifeq ($(TARGET_ARCHITECTURE),psp)
|
|||||||
PSPSDK = $(shell psp-config --pspsdk-path)
|
PSPSDK = $(shell psp-config --pspsdk-path)
|
||||||
PSPDIR = $(shell psp-config --psp-prefix)
|
PSPDIR = $(shell psp-config --psp-prefix)
|
||||||
OBJS = $(GENERIC_OBJS) $(PSP_OBJS)
|
OBJS = $(GENERIC_OBJS) $(PSP_OBJS)
|
||||||
|
PSPENV = 1
|
||||||
TARGET_HGE = libhgetools.a
|
TARGET_HGE = libhgetools.a
|
||||||
INCDIR = include/psp include/psp/freetype2 ../Boost
|
INCDIR = include/psp include/psp/freetype2 ../Boost
|
||||||
CXXFLAGS += -O2 -G0
|
CXXFLAGS += -O2 -G0
|
||||||
|
|||||||
@@ -361,9 +361,6 @@ void Run()
|
|||||||
// The main loop
|
// The main loop
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef DOJLOG
|
|
||||||
remove(JGE_LOG_FILE);
|
|
||||||
#endif
|
|
||||||
JLOG("SetupCallbacks()");
|
JLOG("SetupCallbacks()");
|
||||||
SetupCallbacks();
|
SetupCallbacks();
|
||||||
#ifdef DEVHOOK
|
#ifdef DEVHOOK
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ TARGET_ARCHITECTURE = psp
|
|||||||
PSP_FW_VERSION=371
|
PSP_FW_VERSION=371
|
||||||
BUILD_PRX = 1
|
BUILD_PRX = 1
|
||||||
#SIGN_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
|
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
|
EXTRA_TARGETS = EBOOT.PBP
|
||||||
|
|||||||
Reference in New Issue
Block a user