sdlBasic - makefile needed

Miriam Ruiz little_miry at yahoo.es
Mon Feb 18 16:39:40 UTC 2008


--- Paulo Silva <nitrofurano at gmail.com> escribió:

> hi!

Hi :)

> sdlBasic is needing a makefile, and getting their sources formated as
> compatible with Debian norms

Even though it's more elegant, I don't think there's any norm saying that the
building system should depend on makefiles. In fact there are a lot of
packages  that don't. Having said this, anyway, I guess that GNU Make is quite
a nice building system.

> Since this mailing list is plenty of game packagers, maybe mostly SDL
> experimented, do someone can help this?

It seems that sdlBasic goes towards some quick n dirty building system based
in shell scripts, which in turn end up calling some makefiles:

usr/src/sdlBasic/src/compile.sh:
cd sdlBasic
./compile.sh
cd ..
cd sdlBrt
make os=linux
cd ..
cd sdlBrt/SDLengine
make os=linux
cd ../..
cd sdlBrt/BASengine
make os=linux
cd ../..
cd sdlBrt/unzip
make os=linux
cd ../..

usr/src/sdlBasic/src/sdlBasic/compile.sh:
cd scintilla/gtk
make
cd ../../gtk
make
cd ../

I guess that a global makefile doing something like the follofing commands
would do:

$(MAKE) -C sdlBasic/scintilla/gtk
$(MAKE) -C sdlBasic/gtk
$(MAKE) -C sdlBrt os=linux
$(MAKE) -C sdlBrt/SDLengine os=linux
$(MAKE) -C sdlBrt/BASengine os=linux
$(MAKE) -C sdlBrt/unzip os=linux

Of course, the whole building system is kind of a mess, is upstreaming willing
to change it?

> Thanks a lot in advance! :-)

Greetings,
Miry

PS: please write to debian-devel-games at lists.debian.org instead of
Pkg-games-devel at lists.alioth.debian.org :)



      ______________________________________________ 
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome



More information about the Pkg-games-devel mailing list