Subj : Makefile To : comp.programming From : Christian Christmann Date : Fri Sep 16 2005 10:45 am Hi, my Makefile contains this section: clean: rm -f *.s ... However, when there are no *.s files in the current directory gmake issues a warning: rm: cannot remove `*.s': No such file or directory gmake: *** [clean] Error 1 and stops at this point. Is there any way to define something like this: IF *.s exist THAN rm -rf *.s to avoid aborting gmake if no assembly files exist? Thank you. Chris .