clean-all target to clean configure stuff too.

This commit is contained in:
Nicholas Marriott 2009-05-16 21:55:54 +00:00
parent 25911d32e1
commit 095f16d64f
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.103 2009-05-15 12:57:36 nicm Exp $ # $Id: GNUmakefile,v 1.104 2009-05-16 21:55:54 nicm Exp $
.PHONY: clean .PHONY: clean
@ -49,6 +49,9 @@ depend: $(SRCS)
clean: clean:
rm -f tmux *.o .depend *~ *.core *.log compat/*.o rm -f tmux *.o .depend *~ *.core *.log compat/*.o
clean-all: clean
rm -f config.h config.mk
install: all install: all
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
$(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.138 2009-05-16 18:59:50 nicm Exp $ # $Id: Makefile,v 1.139 2009-05-16 21:55:54 nicm Exp $
.SUFFIXES: .c .o .SUFFIXES: .c .o
.PHONY: clean .PHONY: clean
@ -53,6 +53,9 @@ depend:
clean: clean:
rm -f tmux *.o .depend *~ *.core *.log compat/*.o rm -f tmux *.o .depend *~ *.core *.log compat/*.o
clean-all: clean
rm -f config.h config.mk
install: all install: all
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin ${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
${INSTALLBIN} tmux ${DESTDIR}${PREFIX}/bin/ ${INSTALLBIN} tmux ${DESTDIR}${PREFIX}/bin/