X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FMakefile;h=65787c3f5bef129024d7e900bd84a84a3067194f;hp=b45814a9725491384e6dad27c51bc7fc661d638b;hb=d893cce237bd4b280c8272cfa427d9c202c3baf6;hpb=10baa49bf3be2ad03b3adf5be5cb0fcf5f10fcfb diff --git a/src/Makefile b/src/Makefile index b45814a..65787c3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -114,6 +114,16 @@ distclean: clean ${Q1}echo "CLEAN: tags prof gmon.out" ${Q2}rm -f tags prof gmon.out +.PHONY: gitclean +gitclean: + ${Q1}echo "git-clean: show, use gitcleanf to force" + ${Q2}cd ..; git clean -nxd + +.PHONY: gitcleanf +gitcleanf: + ${Q1}echo "git-clean: forced" + ${Q2}cd ..; git clean -fxd + tags: ${SRCS} ctags $^