User:Clairebun/Sandbox/Compiling

From SRB2 Wiki
Jump to navigation Jump to search

Compiling reference. More for my own sake than anything else.

Starting References

User:Jamesr/Makefile

Source_code_compiling

Source_code_compiling/Makefiles

Software

MinGW W64 -- https://sourceforge.net/projects/mingw-w64/

MSYS2 -- https://www.msys2.org/

Steps

Clone from git

git clone https://git.do.srb2.org/STJr/SRB2.git

or

git clone https://git.do.srb2.org/<branch dir>.git --branch <name>

Get source folder to compile

cd SRB2/src

Compile

mingw32-make.exe CC=i686-w64-mingw32-gcc NOUPX=1 NOOBJDUMP=1