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 /Makefile | |
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 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.145 2009-07-20 05:40:13 nicm Exp $ +# $Id: Makefile,v 1.146 2009-07-21 13:51:30 nicm Exp $ .SUFFIXES: .c .o .PHONY: clean @@ -53,9 +53,12 @@ depend: mkdep ${CPPFLAGS} ${CFLAGS} ${SRCS:M*.c} 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 |