From 09ff8e21f35a68d60479c1f09c92a1ab7882936f Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Mon, 5 Jan 2009 04:28:12 +0000 Subject: [PATCH] J : * Blind attempt (PSP SDK not installed here, can't tell, will test tonight) at fixing the 1xx/3xx mismatch build bug. --- JGE/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JGE/Makefile b/JGE/Makefile index 73760bd99..9f48b8ab9 100644 --- a/JGE/Makefile +++ b/JGE/Makefile @@ -51,13 +51,13 @@ ifeq ($(MAKECMDGOALS),3xx) DEFAULT_RULE = 3xx TARGET_ARCHITECTURE = psp TARGET_LIB = libjge300.a +CXXFLAGS += -DDEVHOOK -DPSPFW3XX endif ifeq ($(MAKECMDGOALS),1xx) DEFAULT_RULE = 1xx OBJS = $(GENERIC_OBJS) $(PSP_OBJS) TARGET_LIB = libjge100.a TARGET_ARCHITECTURE = psp -CXXFLAGS += -DDEVHOOK -DPSPFW3XX endif ifeq ($(TARGET_ARCHITECTURE),psp) @@ -80,8 +80,8 @@ LIBDIR = lib/linux endif # Set definitive values for variables. -CXXFLAGS := $(INCDIR) $(CXXFLAGS) -LDFLAGS := $(LIBS) +CXXFLAGS += $(INCDIR) +LDFLAGS = $(LIBS) TARGET_LIB := $(LIBDIR)/$(TARGET_LIB) TARGET_HGE := $(LIBDIR)/$(TARGET_HGE)