From 1fdcf18db1cf04955c559adc4023213a980fe493 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Wed, 16 Jul 2008 23:55:53 -0400 Subject: [PATCH] moved items that a normal make doesn't create to distclean --- src/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Makefile b/src/Makefile index 77339f0..885bc9e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -50,10 +50,6 @@ ${TARGET}: ${OBJS} ${CXX} ${CXXFLAGS} -o ${TARGET} $^ ${LIBS} @echo "" -.PHONY: depend -depend: ${SRCS} - ${CXX} -MM $^ > ${DEPENDS} - # how to make a depend file from a source file %.d: %.cpp @echo "DEP: $@" @@ -64,11 +60,11 @@ depend: ${SRCS} .PHONY: clean clean: - rm -f ${OBJS} ${TARGET} *~ prof gmon.out + rm -f ${OBJS} ${TARGET} .PHONY: distclean distclean: clean - rm -f tags ${DEPENDS} + rm -f ${DEPENDS} tags prof gmon.out tags: ${SRCS} ctags $^ -- 2.10.2