[SGE] Forcing no FreeType?

Hello everyone!

The Makefile for SGE has a file called Makefile.conf which contains an
option to disable FreeType, and it works.

However, someone made a Makefile to compile it on the Sony PSP that
doesn’t use said Makefile.conf file. I tried messing with it so that it
doesn’t use FreeType, but it still complains about missing

I do have FT installed (otherwise SDL_ttf wouldn’t have compiled), but
it seems I have a version incompatible with SGE. Why are v1 and v2 not
backward-compatible anyway? :confused:

So, anyone know? Here’s the PSP Makefile:------------------------------

Makefile for the SGE library

Created for PSP by SumolX at gmail.com

SGE_VER = 030809

PSPSDK = $(shell psp-config --pspsdk-path)
PSPDIR = $(shell psp-config --psp-prefix)
PSPBIN = $(PSPSDK)/…/bin


OBJS = sge_blib.o sge_bm_text.o sge_collision.o sge_misc.o
sge_rotation.o sge_shape.o sge_surface.o sge_textpp.o sge_tt_text.o

CFLAGS = -Wall -G0 -O2 -ffast-math
CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags)
CFLAGS += $(shell $(PSPBIN)/freetype-config --cflags)

CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti

LIBS = -lSDL_image -lstdc++
LIBS += $(shell $(PSPBIN)/sdl-config --libs)
LIBS += $(shell $(PSPBIN)/freetype-config --libs)

include $(PSPSDK)/lib/build.mak

@echo “/* SGE Config header (generated automatically) */” >sge_config.h
@echo#define SGE_VER $(SGE_VER)” >>sge_config.h
@echo#define _SGE_C_AND_CPP” >>sge_config.h
@echo#define _SGE_HAVE_IMG” >>sge_config.h
@echo#define FT_FREETYPE_H” >>sge_config.h
@echo “” >>sge_config.h
@echo “sge_config.h is now Ready!”

install: $(TARGET_LIB)
@echo “Installing libSGE into $(PSPDIR)/include/SGE $(PSPDIR)/lib”
@mkdir -p $(PSPDIR)/include/SGE $(PSPDIR)/lib
@cp sge_config.h sge_internal.h sge_surface.h sge_primitives.h
sge_misc.h sge_tt_text.h sge_bm_text.h sge_textpp.h sge_blib.h
sge_shape.h sge_collision.h sge_rotation.h $(PSPDIR)/include/SGE
@cp sge.h $(PSPDIR)/include/SGE/SGE.h
@cp libSGE.a $(PSPDIR)/lib
@echo “Finished!”