bakefile problem

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
In need of some credit
In need of some credit
Posts: 1
Joined: Fri May 18, 2007 12:52 pm

bakefile problem

Post by folowing » Fri May 18, 2007 1:14 pm

I use bakefile to generate makefiles. and I want the object files were made into a folder named as "OBJ", in oder to seperate from the sources. I have read the doc , but can't find any idea about it.

Any ideas?


Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! » Fri May 18, 2007 1:57 pm

Mmm...first of all, there is no reason why you should have the sources mixed with the objs if you are using bakefile. Second, the place where objs are placed may vary from compiler to compiler.

Anyway, I think your are not using bakefiles as good as you can.
I use bakefiles for my wx projects using the templates on wxCode (there a lot of predefines templates easy to use).
Download (CVS) the "build" folder and get a bakefile file from a project (maybe mine: wxActiveRecordGenerator) to see how it's done.

If you have any questions (you'll probably will) send a mail to the wxCode mail list.

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode

I live to help wx-kind
I live to help wx-kind
Posts: 194
Joined: Fri Feb 17, 2006 4:16 am
Location: Singapore

Post by biplab » Sun May 20, 2007 5:33 am

Use the following code at the beginning of <makefile> tag.

Code: Select all

<set var="BUILDDIR">./OBJS</set>


IDE: Code::Blocks
Compilers: GCC, MSVC, etc. ;)
OS: WinXP-SP2 & Linux.

Post Reply