summaryrefslogtreecommitdiff
path: root/Makefile.resources
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.resources')
-rw-r--r--Makefile.resources13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile.resources b/Makefile.resources
index d44697fad..2a5493226 100644
--- a/Makefile.resources
+++ b/Makefile.resources
@@ -62,7 +62,16 @@ S_IMAGES :=
$(eval $(foreach V,$(filter FB_IMAGE_%,$(.VARIABLES)),$(call convert_image,$($(V)),$(OBJROOT)/$(patsubst FB_IMAGE_%,%,$(V)).c,$(patsubst FB_IMAGE_%,%,$(V)))))
+# End of framebuffer resource definitions
+endif
+ifeq ($(TARGET),windows)
-# End of framebuffer resource definitions
-endif \ No newline at end of file
+$(OBJROOT)/windows_resource.o: windows/res/resource.rc
+ $(VQ)echo " WINDRES: compiling windows resources"
+ ${Q}$(MINGW_PREFIX)windres $< -O coff -o $@
+
+S_RESOURCES := windows_resource.o
+
+# End of windows resource definitions
+endif