Commit 2b0d9c5a authored by antirez's avatar antirez
Browse files

Added an unstalbe-alike distclean target to 2.4 Makefile.

parent 19fb7404
...@@ -14,6 +14,8 @@ clean: ...@@ -14,6 +14,8 @@ clean:
cd deps/linenoise && $(MAKE) $@ cd deps/linenoise && $(MAKE) $@
-(cd deps/jemalloc && $(MAKE) distclean) -(cd deps/jemalloc && $(MAKE) distclean)
distclean: clean
$(TARGETS): $(TARGETS):
cd src && $(MAKE) $@ cd src && $(MAKE) $@
......
...@@ -195,6 +195,9 @@ redis-server: $(OBJ) ...@@ -195,6 +195,9 @@ redis-server: $(OBJ)
clean: clean:
rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov
distclean: clean
-(cd .. && $(MAKE) clean)
dep: dep:
$(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise $(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment