aboutsummaryrefslogtreecommitdiff
path: root/win32/x86/Makefile
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-04-14 23:54:44 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-04-14 23:54:44 +0900
commita771a6f083d450c9cbba7367a08602c0a4bd6abc (patch)
treee540f5edf4b1fe7c271d55ab542ab72d42c521ae /win32/x86/Makefile
parent61c98716a1fe1269d481d1be20e2d71a52f9a0b2 (diff)
win32: fixed several UI issues and updated manifest
Diffstat (limited to 'win32/x86/Makefile')
-rw-r--r--win32/x86/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/x86/Makefile b/win32/x86/Makefile
index 184d3a4..44d11f6 100644
--- a/win32/x86/Makefile
+++ b/win32/x86/Makefile
@@ -37,10 +37,13 @@ $(TARGET): $(OBJS)
@echo " CC $@"
@$(CC) $(CFLAGS) $(SSECFLAGS) -c $< -o $@
-%.o: %.rc $(ICON)
+%.o: %.rc $(ICON) $(MANIFEST)
@echo " WINDRES $@"
@$(WINDRES) -o $@ -i $<
+$(MANIFEST): $(MANIFEST).in ../../version.h
+ sed -e "s/@VER@/$(shell ../../versionprint.c)/g" $< > $@
+
$(ICON): $(ICONFILES)
icotool -o $@ -c $^