Use 'rm -f' for make clean.

This commit is contained in:
Kris Maglione 2007-04-19 14:53:07 -04:00
parent ec5c7380b7
commit 7b2a84531b
4 changed files with 6 additions and 6 deletions

View File

@ -63,10 +63,10 @@ all:
rm -f ${MAN}/man1/$<
.O.clean:
rm $< || true 2>/dev/null
rm $*.o || true 2>/dev/null
rm -f $< || true 2>/dev/null
rm -f $*.o || true 2>/dev/null
.o.clean:
rm $< || true 2>/dev/null
rm -f $< || true 2>/dev/null
printinstall:
mkdirs:

View File

@ -10,7 +10,7 @@ depend: ${OBJ:=.depend}
libclean:
for i in ${LIB} ${OFILES}; do \
rm $$i; \
rm -f $$i; \
done 2>/dev/null || true
printinstall:

View File

@ -12,7 +12,7 @@ printinstall:
manyclean:
for i in ${TARG:=.o} ${TARG:=.O} ${OFILES}; do \
rm $$i; \
rm -f $$i; \
done 2>/dev/null || true
include ${ROOT}/mk/common.mk

View File

@ -14,7 +14,7 @@ printinstall:
oneclean:
for i in ${PROG} ${OFILES}; do \
rm $$i; \
rm -f $$i; \
done 2>/dev/null || true
${OFILES}: ${HFILES}