diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-21 13:51:30 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-21 13:51:30 +0000 |
commit | 962b9c654833a805c9ed9cbb6d7e781d88f4baea (patch) | |
tree | eabf1c1cb5ea07c80612e1b4fe658870eaa5c4b4 /GNUmakefile | |
parent | 48c36d628aa10183eda59bccc035f154b7cea767 (diff) |
Include .depend in GNUmakefile since GNU make does not include it
automatically.
Also remove .depend from clean target and add a clean-depend target.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index d176f153..b5ad3032 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# $Id: GNUmakefile,v 1.110 2009-07-20 05:40:12 nicm Exp $ +# $Id: GNUmakefile,v 1.111 2009-07-21 13:51:30 nicm Exp $ .PHONY: clean @@ -48,9 +48,12 @@ depend: $(SRCS) $(CC) $(CPPFLAGS) $(CFLAGS) -MM $(SRCS) > .depend clean: - rm -f tmux *.o .depend *~ *.core *.log compat/*.o + rm -f tmux *.o *~ *.core *.log compat/*.o -clean-all: clean +clean-depend: + rm -f .depend + +clean-all: clean clean-depend rm -f config.h config.mk install: all @@ -58,3 +61,5 @@ install: all $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1 $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1 + +-include .depend |