mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Include .depend in GNUmakefile since GNU make does not include it
automatically. Also remove .depend from clean target and add a clean-depend target.
This commit is contained in:
parent
48c36d628a
commit
962b9c6548
11
GNUmakefile
11
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
|
||||
|
9
Makefile
9
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
|
||||
|
Loading…
Reference in New Issue
Block a user