User forums > Using Code::Blocks

Compile project from a makefile ?

(1/1)

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".

--- End quote ---
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.codeblocks.org/index.php?topic=3682.0
http://forums.codeblocks.org/index.php?topic=3403.0
http://forums.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.

--- End quote ---

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

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version