aboutsummaryrefslogtreecommitdiff
path: root/win32/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'win32/amd64')
-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 $^