Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to compile pMARS-SDL on Ubuntu and Linux Mint

17 views
Skip to first unread message

John Metcalf

unread,
Feb 9, 2024, 4:52:03 AMFeb 9
to

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
0 new messages