Skip to content

Commit

Permalink
Add separate icon for x86 version
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Jul 17, 2024
1 parent 097e543 commit 5942e43
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
RC := resources/rpv-web.rc
RES := resources/rpv-web.res
ICON := resources/rpv-web.ico
ICON86 := resources/rpv-web-x86.ico
ICON64 := resources/rpv-web-x64.ico
Options := -os windows -prod -enable-globals -cflags $(shell pwd)/${RES}
DebugOptions := ${Options} -d debug

rpv-web-x64 x64: ${RC}
cp ${ICON64} ${ICON}
x86_64-w64-mingw32-windres ${RC} -O coff -o ${RES}
v ${Options} . -o ${@}.exe

rpv-web-x64-debug debug: ${RC}
cp ${ICON64} ${ICON}
x86_64-w64-mingw32-windres ${RC} -O coff -o ${RES}
v ${DebugOptions} . -o ${@}.exe

rpv-web-x86 x86: ${RC}
cp ${ICON86} ${ICON}
i686-w64-mingw32-windres ${RC} -O coff -o ${RES}
v -m32 ${Options} . -o ${@}.exe

rpv-web-x86-debug x86-debug: ${RC}
cp ${ICON86} ${ICON}
i686-w64-mingw32-windres ${RC} -O coff -o ${RES}
v -m32 ${DebugOptions} . -o ${@}.exe

Expand Down
File renamed without changes.
Binary file added resources/rpv-web-x86.ico
Binary file not shown.
Binary file added resources/rpv-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5942e43

Please sign in to comment.