Author Topic: Compile project from a makefile ?  (Read 4189 times)

Tintin72

  • Guest
Compile project from a makefile ?
« on: November 19, 2006, 11:17:52 am »
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

Offline balgior

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: Compile project from a makefile ?
« Reply #1 on: November 20, 2006, 02:47:09 am »
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:



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

  • Guest
Re: Compile project from a makefile ?
« Reply #2 on: November 26, 2006, 05:11:15 pm »
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.