News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Compiling only parts of Simutrans

Started by weirdnose, September 21, 2008, 04:37:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

weirdnose

Hey,

I'd like to compile only parts of Simutrans. I am trying to get used to the code and so I'm making frequent changes and re-compiles. Is there a way to speed up the compile roundabout?

All I do at this time is:
make clean
make


And wait.


Regards,

Tobi

whoami

"make clean" removes the intermediate results, so just omit that. It is needed only in cases where something is changed that the build process cannot recognize, but where object files (.o/.obj) have to be re-generated. If you change a header file, most .c/.cc files' compilations will be invalidated automatically.

VS

I don't know a thing about this, but a while ago I heard something about something called ccache - it should speed up compiling in some cases. Might be worth at least googling...