From: Jens Axboe Date: Sat, 27 Apr 2013 21:51:25 +0000 (-0600) Subject: Add distclean target X-Git-Tag: fio-2.1~6 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=45f944b907acf5c8aeb6bca72c8932ea3ead258e 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 --- 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