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:
@@ -33,7 +33,7 @@ HGE_OBJS = src/hge/hgecolor.o src/hge/hgeparticle.o \
|
||||
CXXFLAGS = -W -Wall -Werror -Wno-unused
|
||||
|
||||
ifdef DEBUG
|
||||
CXXFLAGS += -ggdb3 -DDOJLOG
|
||||
CXXFLAGS += -ggdb3
|
||||
endif
|
||||
|
||||
ifdef DOLOG
|
||||
@@ -81,6 +81,7 @@ 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
|
||||
|
||||
@@ -361,9 +361,6 @@ void Run()
|
||||
// The main loop
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#ifdef DOJLOG
|
||||
remove(JGE_LOG_FILE);
|
||||
#endif
|
||||
JLOG("SetupCallbacks()");
|
||||
SetupCallbacks();
|
||||
#ifdef DEVHOOK
|
||||
|
||||
@@ -27,6 +27,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user