Compiling on Linux
From Elite Wiki
To successfully compile Oolite on Ubuntu some prerequisites are necessary.
You need to have the correct packages installed. You need to have the Oolite project including submodules checked out. You need to set environment variables, then run the makefile.
All this is nicely scripted in the Github Actions workflow at https://github.com/OoliteProject/oolite/blob/master/.github/workflows/build-all.yml#L59