From f0084545fd87ebef0f5d2619265bd782ca7ab214 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 13 May 2018 19:41:35 +0200 Subject: [PATCH] add Icon resource when cross compiling for win32 --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index 43fd3d0f..9ba4bd42 100644 --- a/src/Makefile +++ b/src/Makefile @@ -384,7 +384,9 @@ endif COPT += $(LUACOPT) LOPT += $(LUALOPT) OBJDIR = ../obj/win32 + WINDRES ?= $(shell which i686-w64-mingw32-windres || which mingw32-windres) PLATFORM = win32 + PLATFORMOBJ = winres.o PLATFORMFILES = bin/SDL.dll bin/SDL_image.dll $(wildcard ../bin/libpng*.dll) $(wildcard ../bin/libjpeg*.dll) bin/zlib1.dll $(TTFLIBS) else ifdef GP2XCROSS