I migrated my old codelite project to codelite 7.0 and set it up such that I can build it with mingw 4.9.2. I can build my project just fine now but cleaning removes the entire configured build folder where the previous version only removed object and depend files.
I want to setup codelite such that it removes only objects and depends when cleaning. I don't know how to do that, my guess is I need to make a custom build. I've tried to make a custom build which calls the same command codelite does but it won't build.
Output View without Custom Build:
When using Custom Build:C:\Windows\system32\cmd.exe /C "C:/mingw-4.9.2/bin/mingw32-make.exe -j2 SHELL=cmd.exe -e -f Makefile"
"----------Building project:[ project - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Workspace/project'
C:/mingw-4.9.2/bin/g++.exe -o ./Debug/project @"project.txt" -L.
mingw32-make.exe[1]: Leaving directory 'C:/Workspace/project'
0 errors, 0 warnings
I want to have codelite use the default Makefile when building but use my Makefile from the old codelite version for cleaning. What is going wrong in my setup above? I appreciate any insight.MESSAGE: Entering directory `C:\Workspace'
C:\Windows\system32\cmd.exe /C "C:/mingw-4.9.2/bin/mingw32-make.exe -j2 SHELL=cmd.exe -e -f Makefile"
----------Building project:[ project - Debug ]----------
"----------Building project:[ project - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Workspace/project'
C:/mingw-4.9.2/bin/g++.exe -o ./Debug/project @"project.txt" -L.
mingw32-make.exe[1]: *** [Debug/project] Error 1
project.mk:78: recipe for target 'Debug/project' failed
mingw32-make.exe[1]: Leaving directory 'C:/Workspace/project'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
I'm using Codelite 7.0 on Windows 7 with MinGW 4.9.2