mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-30 16:50:45 +00:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
# Win32 - SDL2 version
|
|
#
|
|
# This should build a `gsplus.exe` executable and copy it to the project root dir.
|
|
# You can run it, though as always you need to supply an Apple IIgs ROM file.
|
|
# Have fun, and please note any errors on the issues page of the project.
|
|
|
|
|
|
# Prerequisites: You must install Cygwin on your system.
|
|
# I install Cygwin with all "Devel" and "Perl" packages.
|
|
# I also search for and add any FreeType libs.
|
|
# You will not use the Cygwin SDL2/image libraries as they are deprecated.
|
|
# Instead you must download the mingw64-w64 libraries and link against those.
|
|
wget https://www.libsdl.org/release/SDL2-devel-2.0.8-mingw.tar.gz
|
|
tar -xvzf SDL2-devel-2.0.8-mingw.tar.gz
|
|
cd SDL2-2.0.8
|
|
mkdir /cygdrive/c/mingw
|
|
mv i686-w64-mingw32/ /cygdrive/c/mingw/
|
|
cd ..
|
|
|
|
wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.3-mingw.tar.gz
|
|
tar -xvzf SDL2_image-devel-2.0.3-mingw.tar.gz
|
|
rsync -a SDL2_image-2.0.3/i686-w64-mingw32/ /cygdrive/c/mingw/i686-w64-mingw32/
|
|
|
|
# Build.
|
|
git clone git@github.com:digarok/gsplus.git
|
|
cd gsplus/src
|
|
ln -s vars_win32_sdl2 vars
|
|
make clean ; make
|