3dfxdev / EDGE

EDGE Source Code
http://edge2.sf.net
74 stars 10 forks source link

linux Makefile fixes #19

Closed ryan-sg closed 8 years ago

ryan-sg commented 8 years ago

While I toiled away making this compile on OpenBSD, I started by using the Makefile.linux. It seemed to have some missing pieces from the latest developments, so here they are.

I also got it building with scons, and thus fixed the SConstruct file as well. further changes will be needed to make it work out of the box on OpenBSD, but might as well get it working for linux again!

Finally CMake is unable to find the png, jpeg, and zlib packages without their names in uppercase. the cmake modules responsible for finding these packages are also named as such (FindPNG, FindJPEG, FindZLIB) are also named as such, so this seems...right.