News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compile project from a makefile ?

Started by Tintin72, November 19, 2006, 11:17:52 AM

Previous topic - Next topic

Tintin72

Hi,

I'm using Codeblocks under Win Xp and lately someone send me a Linux project that I'd like
to compile from it's make file.
On the FAQ page I can read:
Quote
Q: My project should be compiled with a custom makefile. Is it possible with Code::Blocks?
a) In "Compiler Settings", under the tab "Other", there's a setting called "Build Method". Choose "Work with makefiles".
but my problem here, is that the "Build Method" setting is grayed, and I just can't find a way to ungrayed it.
Can someone help me ?

Thanks

balgior

hello!

have a look at the following threads:

http://forums.next.codeblocks.org/index.php?topic=3682.0
http://forums.next.codeblocks.org/index.php?topic=3403.0
http://forums.next.codeblocks.org/index.php?topic=4225.0

or search the forum and you'll find mooore :wink:




Quote from: Tintin72 on November 19, 2006, 11:17:52 AM
I'm using Codeblocks under Win Xp and lately someone send me a Linux project that I'd like
to compile from it's make file.

anyway, are you sure you're not trying to do anything messy?
trying to compile under windows a linux project through its linux-makefile won't work...
you will need something like msys (http://www.mingw.org/msys.shtml) for that

(that FAQ page should really be editted...)

i386

Quote from: Tintin72 on November 19, 2006, 11:17:52 AM
my problem here, is that the "Build Method" setting is grayed, and I just can't find a way to ungrayed it

I have the exact same problem as yours so that C::B seems to ignore my Makefile even after I chose to work with a custom Makefile.