Update build for win32 with freetype.

This commit is contained in:
Themaister 2011-01-24 21:46:43 +01:00
parent db69cb2173
commit 0865c7855d

View File

@ -8,6 +8,7 @@ CXX = g++
HAVE_SRC = 1
HAVE_SDL = 1
HAVE_XML = 1
HAVE_FREETYPE = 1
libsnes ?= -lsnes
LIBS =
@ -35,6 +36,12 @@ ifeq ($(HAVE_XML), 1)
LIBS += -lxml2
endif
ifeq ($(HAVE_FREETYPE), 1)
OBJ += gfx/fonts.o
DEFINES += -DHAVE_FREETYPE -Ifreetype2
LIBS += -lz -lfreetype6
endif
ifeq ($(DYNAMIC), 1)
DEFINES += -DHAVE_DYNAMIC
else
@ -76,6 +83,10 @@ clean:
rm -f tools/*.o
dist: all
zip -r ssnes-win32.zip $(TARGET) ssnes.cfg snes.dll libxml2.dll iconv.dll zlib1.dll SDL.dll libsamplerate-0.dll ssnes-joyconfig.exe
zip -r ssnes-win32.zip $(TARGET) ssnes.cfg snes.dll libxml2.dll iconv.dll zlib1.dll SDL.dll libsamplerate-0.dll freetype6.dll ssnes-joyconfig.exe
libs:
wget https://github.com/downloads/Themaister/SSNES/SSNES-win32-libs.zip --no-check-certificate
unzip SSNES-win32-libs.zip
.PHONY: all install uninstall clean dist