Add distclean target
authorJens Axboe <axboe@kernel.dk>
Sat, 27 Apr 2013 21:51:25 +0000 (15:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 27 Apr 2013 21:51:25 +0000 (15:51 -0600)
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 <axboe@kernel.dk>
Makefile

index d10123e774b6a5c7db7a5d27da16ce4db85e9624..781cdec759cef88b2a03ecae617811e5bdba6127 100644 (file)
--- 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