Code::Blocks

User forums => Using Code::Blocks => Topic started by: namnet on April 04, 2006, 12:07:34 pm

Title: Using Makefiles
Post by: namnet on April 04, 2006, 12:07:34 pm
Hi

I'm setting up a project in an svn-repository. Since it's a game, none-programmers will  have to build it without using Code Blocks or any other IDE, and I thought Makefiles was the way to go.

My plan was to setup Code Blocks to use/generate a Makefile each time a programmer tried to build the project. This Makefile would be versioned in svn.

Now the none-programmers would be able to build the project by just running the makefile.

My first question is: when I did "build-> compiler options-> other-> work with makefiles", it seems to be using a Makefile when I build. Problem is I can't find it -- obviously I want it to be outputted in my project directory.

Second question: when I use "export makefile", the makefile outputted seems to contain a lot of absolute paths, i.e. specific to my setup. Can I make them relative?

Thanks in advance!
Title: Re: Using Makefiles
Post by: mandrav on April 04, 2006, 12:21:53 pm
A quick search would have answered your question: here (http://forums.codeblocks.org/index.php?topic=2554.0).