From 83d913b6d230c882f4e97d7da1a5e46e7a0d9760 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 24 May 2011 01:28:00 +0200 Subject: [PATCH] Add possibility to build Imlib on win32/64. --- Makefile.win32 | 7 +++++++ Makefile.win64 | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/Makefile.win32 b/Makefile.win32 index 74df9e3f38..d294194b1c 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -16,6 +16,7 @@ HAVE_DYLIB = 1 HAVE_NETPLAY = 1 HAVE_FBO = 1 HAVE_CG = 0 +HAVE_IMLIB = 0 libsnes ?= -lsnes LIBS = -lm @@ -92,6 +93,12 @@ ifeq ($(HAVE_DYLIB), 1) OBJ += gfx/ext.o audio/ext.o endif +ifeq ($(HAVE_IMLIB), 1) + LIBS += -lImlib2 + DEFINES += -DHAVE_IMLIB +endif + + ifneq ($(V),1) Q := @ endif diff --git a/Makefile.win64 b/Makefile.win64 index c972decbab..f28c51dd0c 100644 --- a/Makefile.win64 +++ b/Makefile.win64 @@ -16,6 +16,7 @@ HAVE_DYLIB = 1 HAVE_NETPLAY = 1 HAVE_FBO = 1 HAVE_CG = 0 +HAVE_IMLIB = 0 libsnes ?= -lsnes LIBS = -lm @@ -92,6 +93,10 @@ ifeq ($(HAVE_DYLIB), 1) OBJ += gfx/ext.o audio/ext.o endif +ifeq ($(HAVE_IMLIB), 1) + LIBS += -lImlib2 + DEFINES += -DHAVE_IMLIB +endif ifneq ($(V),1) Q := @