The whale is right, clean and clobber may mean what the author of the makefile wants to do.
In practice, although I think that usually the difference between them is this:
clean: deletes all the object files created
clobber: deletes all the object files AND the intermediate dependency files generated which specify the dependencies of the cpp files.
At least that was in the projects I was working on.
source
share