fix makefile

so 'make clean' is done in some directories only if the Makefile is
there, since a previously done 'make distclean' might remove it.

A better fix would be to ensure that 'clean' is done before 'distclean'!