From 45f944b907acf5c8aeb6bca72c8932ea3ead258e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 27 Apr 2013 15:51:25 -0600 Subject: [PATCH] Add distclean target And only clean cscope.out output when doing that. I'm getting tired of having to re-do cscope for no real reason. Signed-off-by: Jens Axboe --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d10123e7..781cdec7 100644 --- a/Makefile +++ b/Makefile @@ -262,7 +262,10 @@ t/lfsr-test: $(T_LFSR_TEST_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_LFSR_TEST_OBJS) $(LIBS) $(LDFLAGS) clean: FORCE - -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE config-host.mak config-host.h cscope.out *.d + -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d config-host.mak config-host.h + +distclean: clean FORCE + @rm -f cscope.out cscope: @cscope -b -R -- 2.25.1