From a8248a7bb9555e558cb8c7eed1146c62ab024130 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 20 Aug 2018 22:26:41 +0100 Subject: Update windows frontend to use windows resources --- frontends/windows/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'frontends/windows/Makefile') diff --git a/frontends/windows/Makefile b/frontends/windows/Makefile index f6995910d..d22e17112 100644 --- a/frontends/windows/Makefile +++ b/frontends/windows/Makefile @@ -33,11 +33,15 @@ WSCFLAGS := -std=c99 -Dnswin32 -DCURL_STATICLIB -DCARES_STATICLIB -g CFLAGS += $(WSCFLAGS) LDFLAGS += $(WSCFLAGS) +# The filter and target for split messages +MESSAGES_FILTER=win +MESSAGES_TARGET=$(FRONTEND_RESOURCES_DIR) + # ---------------------------------------------------------------------------- # built-in resource setup # ---------------------------------------------------------------------------- -$(OBJROOT)/windows_resource.o: $(FRONTEND_RESOURCES_DIR)/resource.rc +$(OBJROOT)/windows_resource.o: $(FRONTEND_RESOURCES_DIR)/resource.rc $(addsuffix /Messages,$(addprefix $(MESSAGES_TARGET)/,$(MESSAGES_LANGUAGES))) $(VQ)echo " WINDRES: compiling windows resources" ${Q}$(WINDRES) $< -O coff -o $@ @@ -49,7 +53,7 @@ S_RESOURCES := windows_resource.o # sources purely for the windows build S_FRONTEND := main.c window.c gui.c drawable.c plot.c findfile.c \ - font.c bitmap.c about.c prefs.c download.c filetype.c file.c \ + font.c bitmap.c about.c prefs.c download.c fetch.c file.c \ local_history.c schedule.c windbg.c pointers.c login.c \ corewindow.c hotlist.c cookies.c global_history.c ssl_cert.c -- cgit v1.2.3