Added an unstalbe-alike distclean target to 2.4 Makefile.

This commit is contained in:
antirez 2012-02-21 10:16:00 +01:00
parent 19fb7404a4
commit 2b0d9c5ac6
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,8 @@ clean:
cd deps/linenoise && $(MAKE) $@
-(cd deps/jemalloc && $(MAKE) distclean)
distclean: clean
$(TARGETS):
cd src && $(MAKE) $@

View File

@ -195,6 +195,9 @@ redis-server: $(OBJ)
clean:
rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov
distclean: clean
-(cd .. && $(MAKE) clean)
dep:
$(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise