Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
custom Makefile and build->clean doesn't work
jlac:
Hi,
With the nightly build 29/01/2009 svn 5456 on winXp
menu Build -> Build is ok (call my makefile)
but
menu Build -> Clean don't clean my files, it doesn't call my makefile but the other cleaner:
--- Quote ----------------- Clean: clean in pjttest ---------------
Error cleaning "pjttest - clean"
Done.
--- End quote ---
This is occur when the compiler selected is Cygwin or GNU GCC.
Any ideas ?
Jenna:
It calls your makefile, but the make.exe returns an error.
The custom-makefile handling and log-output has changed, see here: http://forums.codeblocks.org/index.php/topic,9966.0.html.
I will change the logging of custom-makefile clean to output the errors, if you use full commandline logging (maybe this feature will be optional).
At the moment, you can check if the make clean command in the build options of your project is correct.
Jenna:
I just changed it in trunk (r5457).
Custom-makefile clean always logs output, if full commandline logging is turned on ("Settings -> Compiler and debugger... -> Global compiler settings -> Other settings(rightmost tab) -> Compiler logging" is switched to "Full commandline").
jlac:
with 'GNU gcc compiler' and 'Full commandline' actived I have:
For Build:
--- Quote ----------------- Build: all in pjttest ---------------
Running command: mingw32-make.exe -f Makefile all
gcc -g -Wall pjttest.c -o pjttsest
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings
--- End quote ---
For Clean:
--- Quote ----------------- Clean: all in pjttest ---------------
Error cleaning "pjttest - all"
Done.
--- End quote ---
make.exe isn't call ...
Jenna:
--- Quote from: jens on February 18, 2009, 12:39:34 pm ---At the moment, you can check if the make clean command in the build options of your project is correct.
--- End quote ---
--- Quote from: jens on February 18, 2009, 01:05:38 pm ---I just changed it in trunk (r5457).
Custom-makefile clean always logs output, if full commandline logging is turned on ("Settings -> Compiler and debugger... -> Global compiler settings -> Other settings(rightmost tab) -> Compiler logging" is switched to "Full commandline").
--- End quote ---
Please read my posts carefully.
You either have to compile C::B yourself, or wait for the next nightly.
Navigation
[0] Message Index
[#] Next page
Go to full version