User forums > Help

Can't change build method to makefiles

<< < (2/2)

shador:
Haha now I feel so stupid =)

Well, now the next problem is what I want to change the commands to. Only thing I did when I compiled in the shell was write make in the folder with the cpp file and makefile and then it was done. Any pointers on what needs to be done?

EDIT: Well still don't know what I'm gonna change in the Build Options tab you mentioned but I think I've found another problem. The FAQ on the wiki says; In "Compiler Settings", under the tab "Other", there's a setting called "Build Method". Choose "Work with makefiles".

But the "Build Method" setting is greyed out and cannot be changed by some reason.

stahta01:
See this post of mine help you; been up all night so not able to help much right now.

Tim S

http://forums.codeblocks.org/index.php/topic,8678.0.html

shador:

--- Quote from: stahta01 on September 18, 2008, 05:32:50 pm ---See this post of mine help you; been up all night so not able to help much right now.

Tim S

http://forums.codeblocks.org/index.php/topic,8678.0.html


--- End quote ---

Well I see it but still nothing =) A problem for me is also that I don't have good knowledge of makefiles. The one I use was made for me. Guess I should learn how to use makefiles better before bothering you guys with issues ^^

Jenna:
If you normally only type "make", just remove the "$target" from the build command in the "Make commands" tab.

As I wrote before be sure you have spelled the name of the makefile correctly in projects properties. And the path (if any) to the makefile is relative to the projects root directory.

shador:
Well then, looks like problem is solved. Double up actually. I can now choose to compile either with the makefile and the usual way. Had to fiddle with include files and some libs.

Thank you both for the help. It's always nice to see that there are people willing to help newbies without throwing sarcasm left and right =)

Navigation

[0] Message Index

[*] Previous page

Go to full version