aboutsummaryrefslogtreecommitdiff
path: root/win32/amd64/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/amd64/Makefile
parent61c98716a1fe1269d481d1be20e2d71a52f9a0b2 (diff)
win32: fixed several UI issues and updated manifest
Diffstat (limited to 'win32/amd64/Makefile')
-rw-r--r--win32/amd64/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/amd64/Makefile b/win32/amd64/Makefile
index c1d7426..90e56d3 100644
--- a/win32/amd64/Makefile
+++ b/win32/amd64/Makefile
@@ -36,10 +36,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 $^