Add distclean target (clean && remove Makefile)

This commit is contained in:
Philippe Pepiot 2010-12-07 00:30:36 +01:00
parent 87575a019d
commit d606f999f9

View File

@ -50,6 +50,10 @@ ${MAN}.gz: ${MAN}
clean:
rm -f ${OBJS} wmfs ${MAN}.gz
distclean: clean
rm -f Makefile
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
mkdir -p ${DESTDIR}${PREFIX}/bin
@ -77,5 +81,5 @@ uninstall:
.PHONY: all clean install uninstall
.PHONY: all clean distclean install uninstall