|
From: Karl B. <ka...@gm...> - 2002-08-17 12:46:25
|
Hi all! I've put together a simple configure/Makefile for sc2. It can be found at: http://www.linux-games.com/make.tar.gz Extract the tar into the src directory, than go into the configure dir and call ./configure . Then you should have a usable Makefile. Problems (can all be fix easily) : - SDL_wrapper.h:41: gl/glut.h should be GL/glut.h - IKEY_CON.H should be lowercase - IFONTRES.H should be lowercase - ISNDRES.H should be lowercase - sc2code/libs/math/random.c: random is defined here, but it's also defined in /usr/include/stdlib.h. It looks like we don't need the one in sc2code/libs/math/ IMHO. Notes: - I added the following defines, since they are needed (I used the values from Starcon2.dsp): SAFE_X=0 SAFE_Y=0 It doesn't compile successfully, yet, but I think it's a good starting point. I'll probably post an updated version tomorrow. I hope this helps, -- linux-Gg |