Mercurial > repos > blastem
comparison build_release @ 2549:2d32c1232fff
Fix Windows build version extraction for version.inc change
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 04 Jan 2025 20:30:35 -0800 |
parents | 2ea2f3aa5aa8 |
children | 639561060a28 |
comparison
equal
deleted
inserted
replaced
2548:3fc8a1f2eb84 | 2549:2d32c1232fff |
---|---|
33 SDLDLLPATH=sdl/i686-w64-mingw32/bin | 33 SDLDLLPATH=sdl/i686-w64-mingw32/bin |
34 fi | 34 fi |
35 make menu.bin tmss.md | 35 make menu.bin tmss.md |
36 if [ $OS = "Windows" -o $OS = "Win64" ]; then | 36 if [ $OS = "Windows" -o $OS = "Win64" ]; then |
37 binaries="blastem.exe $SDLDLLPATH/SDL2.dll" | 37 binaries="blastem.exe $SDLDLLPATH/SDL2.dll" |
38 verstr=`sed -E -n 's/^[^B]+BLASTEM_VERSION "([^"]+)"/blastem \1/p' blastem.c` | 38 verstr=`sed -E -n 's/^[^B]+BLASTEM_VERSION "([^"]+)"/blastem \1/p' version.inc` |
39 txt=".txt" | 39 txt=".txt" |
40 else | 40 else |
41 binaries="dis zdis blastem termhelper" | 41 binaries="dis zdis blastem termhelper" |
42 if [ $OS = "Darwin" ]; then | 42 if [ $OS = "Darwin" ]; then |
43 binaries="$binaries Frameworks" | 43 binaries="$binaries Frameworks" |