Add target distclean

This commit is contained in:
hjp 2016-07-05 19:52:03 +00:00
parent 1bc6615651
commit 8260d39d4e
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# $Id: GNUmakefile,v 1.7 2011-01-30 19:41:15 hjp Exp $ # $Id: GNUmakefile,v 1.8 2016-07-05 19:52:03 hjp Exp $
# $Log: GNUmakefile,v $ # $Log: GNUmakefile,v $
# Revision 1.8 2016-07-05 19:52:03 hjp
# Add target distclean
#
# Revision 1.7 2011-01-30 19:41:15 hjp # Revision 1.7 2011-01-30 19:41:15 hjp
# Replaced GNUmakerules.sh with GNUmakerules.pl because Debian now uses a # Replaced GNUmakerules.sh with GNUmakerules.pl because Debian now uses a
# /bin/sh which doesn't understand echo -e. # /bin/sh which doesn't understand echo -e.
@ -31,6 +34,9 @@ errno_list.c: errno.list make_errno_list
clean: clean:
rm errno rm errno
distclean: clean
rm -f GNUmakevars GNUmakerules errno_list.c
install: $(BINDIR)/errno install: $(BINDIR)/errno
GNUmakevars: GNUmakevars.sh GNUmakevars: GNUmakevars.sh