wmtime: Use rm -f in make clean.

This patch uses the -f option for rm in make clean so that no error occurs when
make clean is run while no object or binary files exist.  (It also adds a
newline at the end of the Makefile thanks to emacs.)
This commit is contained in:
Doug Torrance 2014-08-27 07:24:30 -05:00 committed by Carlos R. Mafra
parent d6ef017638
commit 0119083b0a

View file

@ -17,9 +17,9 @@ wmtime: $(OBJS) $(XPMS)
clean::
for i in $(OBJS) ; do \
rm $$i; \
rm -f $$i; \
done
rm wmtime
rm -f wmtime
install:: wmtime
install -m 755 wmtime $(DESTDIR)/usr/bin
install -m 755 wmtime $(DESTDIR)/usr/bin