HOW TO BUILD ON LINUX:
------------------------------

1) Make sure you have the dependencies installed:

- For Ubuntu 18.04+ or Debian Buster:
 $ sudo apt-get install git build-essential libsdl2-2.0-0 libsdl2-dev libjansson-dev libexpat1-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libspeex-dev libspeexdsp-dev libfreetype6-dev libsndfile-dev libpcre3-dev

- For Fedora 25+:
 $ sudo dnf install pcre-devel mesa-libGL-devel SDL2-devel make gcc jansson-devel expat-devel libcurl-devel libpng-devel libjpeg-turbo-devel speex-devel speexdsp-devel freetype-devel libXxf86vm-devel

2) Clone the git repository
 $ git clone https://github.com/ezQuake/ezquake-source.git

3) Switch to ezquake-source path
 cd ~/ezquake-source/

4) Run the following (replace 5 with the number of cpu cores you have + 1)
 $ make -j5
Or in case of distros that come with libsndfile older than 1.025:
 $ OLD_WAV_LOADING=1 make -j5

5) Copy the built binary to your quake folder, on 64bit linux
   the binary will be called:
   
   ezquake-linux-x86_64


TODO:
-----
Write down dependencies for other distros
