src/ in now splitted into small subdirectories. Now Makefile prepare
build.o for every subdirectory, so ld have less work for the last
linkage (which produces wormux binary) ;-)

TODO (for me) : Only link wormux when a build.o is rebuilt. A build.o is
rebuild when ... um, it's not easy here :-(

I corrected quite (???) all code to support new file names :
- *.scr
- Makefile
- some .cpp (which access directly to files, like team/skin/map loading)
- ...

TODO : Correct broken installation. The hack "-DINSTALL_DIR=(...)" do
not work anymore because every subdirectory have its own Makefile which
reload src/make.env file (with default CXXFLAGS). I think, the best
solution is to use a src/include/install.h in which we will write
directory names (DATA_DIR and LOCALE_DIR).

Bye, Haypo (very tired, but proud to say that it's finally done !)


Répondre à