Skip to main content
Topic: Compiling only parts of Simutrans (Read 3584 times) previous topic - next topic

Compiling only parts of Simutrans

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:
Code: [Select]
make clean
make

And wait.


Regards,

Tobi

Re: Compiling only parts of Simutrans

Reply #1
"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.

 

Re: Compiling only parts of Simutrans

Reply #2
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...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!