Oops, forgot to mention this under Windows. I havn't had a chance to check it on Linux yet.
There are a fair number of generated files that do not get deleted with "make distclean". I've added them to QMAKE_DISTCLEAN, it's just the directories that are left behind now. In Unix, rm will remove directories. In Windows, del will not remove directories. The generated Makefile has
DEL_FILE = del
DEL_DIR = rmdir
DEL_FILE = del
DEL_DIR = rmdir
To copy to clipboard, switch view to plain text mode
But the make clean section only uses DEL_FILE. I've used the line below to take care of emptying the directories without a prompt, but it still leaves the empty directory behind.
win32:QMAKE_DEL_FILE = del /q
win32:QMAKE_DEL_FILE = del /q
To copy to clipboard, switch view to plain text mode
I guess I'll go look for rm.exe and put that in there.
Bookmarks