Compiled from Source

Do you want to help out with Freeciv development? Then check out this forum.
Post Reply
Strategy Thinker
Posts: 9
Joined: Wed Feb 20, 2013 11:20 am

Compiled from Source

Post by Strategy Thinker »

I did it! I did it! - I finally compiled the game from source and made a compiler for the gtk version. I am working on Windows 7, this is the first time I have ever compiled anything from source.

Is there a way to only recompile the parts of the code that I am going to edit - it took a very long time to compile everything.

P.S. I am not exactly sure where to post this.
cazfi
Elite
Posts: 3091
Joined: Tue Jan 29, 2013 6:54 pm

Re: Compiled from Source

Post by cazfi »

Strategy Thinker wrote:Is there a way to only recompile the parts of the code that I am going to edit - it took a very long time to compile everything.
That's what 'make' does. It compares timestamps of files to build (object file in case of compiling) and their sources. It rebuilds only if source is newer than already existing target.

Do not reconfigure your tree (configure/autogen.sh) but run only 'make'.
Strategy Thinker
Posts: 9
Joined: Wed Feb 20, 2013 11:20 am

Re: Compiled from Source

Post by Strategy Thinker »

Thank you, this makes sense - otherwise I am guessing that the Freeciv code would have never have gotten very far because it would take too long to compile.
Post Reply