User forums > Help
Trouble with makefiles(on the official release)
Google:
--- Quote from: hckr83 on March 17, 2008, 03:42:56 am ---Actually, though the compiler "use makefile method" option was greyed out; after I fixed make.exe to an updated version(that wasn't DJGPP!!) after that it worked.. maybe make sure that you can execute make.exe from a command line. Codeblocks 8.02(with MinGW) does NOT include make. You must download and install it yourself(for install, you can just copy to codeblocks/mingw/bin/)
--- End quote ---
No luck to me. I tried both cygwin's make and MinGW's make. The codeblocks just keeps using its own debug/release target. I installed cygwin and MinGW independently and I am sure the "make" is there and the path is correct in codeblocks. I am not clear what do you mean by fixing "make.exe"?
Actually, I tried codeblocks, dev-c++ and eclipse. All these IDE just do not have an elegant way to use customized Makefile.
ewaller:
I am a brand new user of code::blocks. Running on Gentoo flavored Linux. Messing around with this, I found the make file was being used, but the argument being passed in was the name of the targets. Thus, instead of 'make clean' it would try 'make debugclean' or 'make normalclean'. As a work around, set it such that there is only one build target, and call it something harmless like ' ' ( a single space). This worked for me. To debug, I re-ran ./configure with the --enable-debug. Works like a charm. Feedback please -- I plan to write a bug report.
Jenna:
--- Quote from: ewaller on June 27, 2008, 05:24:28 am ---I am a brand new user of code::blocks. Running on Gentoo flavored Linux. Messing around with this, I found the make file was being used, but the argument being passed in was the name of the targets. Thus, instead of 'make clean' it would try 'make debugclean' or 'make normalclean'. As a work around, set it such that there is only one build target, and call it something harmless like ' ' ( a single space). This worked for me. To debug, I re-ran ./configure with the --enable-debug. Works like a charm. Feedback please -- I plan to write a bug report.
--- End quote ---
If you have checked "This is a custom Makefile" in Project's "Properties -> Project Settings", you can change the make commands in "Build options -> Make commands" (it's the right-most tab of Build options).
Navigation
[0] Message Index
[*] Previous page
Go to full version