aboutsummaryrefslogtreecommitdiff
path: root/win32/x86/Makefile
diff options
context:
space:
mode:
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 $^