summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-21 13:51:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-21 13:51:30 +0000
commit962b9c654833a805c9ed9cbb6d7e781d88f4baea (patch)
treeeabf1c1cb5ea07c80612e1b4fe658870eaa5c4b4 /Makefile
parent48c36d628aa10183eda59bccc035f154b7cea767 (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--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 307fb73c..71431a1c 100644
--- a/Makefile
+++ b/Makefile
@@ -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