Make clean tries to remove directory: "core"
-
Hello All,
in my application there is a directory 'core' and it holds source files. But when I run make clean, make will try to remove this directory. On Windows it even succeeds. This is annoying as I need those files when I want to compile it again.
When running qmake, it will put this in the Makefile:
-$(DEL_FILE) *~ core *.coreI don't want this line in there. '*~' would be nice, but the other two I don't need.
Does anyone know how to prevent qmake from putting that line in the Makefile?
Thanks, regards,
Bart -
svn browse complete source:
http://calcudoku.svn.sourceforge.net/viewvc/calcudoku/ -
core is usually the name of a coredump. On the clean step, qmake tries to remove these leftovers from a failed run or build. The line is hardcoded to the makefile generator of qmake. You'll have to rename the directory or move it to a subdirectory to prevent deletion.
-
Ok, to bad. But good to know.
Thank you.