From: Patrik Gornicz Date: Thu, 17 Jul 2008 03:55:53 +0000 (-0400) Subject: moved items that a normal make doesn't create to distclean X-Git-Tag: v0.01~29 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=1fdcf18db1cf04955c559adc4023213a980fe493 moved items that a normal make doesn't create to distclean --- 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 $^