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 := @