Download and extract pMARS-SDL:
wget
https://corewar.co.uk/pihlaja/pmars-sdl/pmars-0.9.2-5.tar.gz
tar -x -f pmars-0.9.2-5.tar.gz
Find the src directory:
cd pmars-0.9.2-5/src
Make the following edits to Makefile:
* Add -DSDLGRAPHX to the end of line 21 (CFLAGS)
* Remove the # to enable lines 26 (INC) and 27 (LIB)
Install SDL 1.2:
sudo apt-get update
sudo apt-get install libsdl1.2-dev
Make pMARS:
make