diff options
Diffstat (limited to 'win32/amd64/Makefile')
-rw-r--r-- | win32/amd64/Makefile | 5 |
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 $^ |