Skip to content
This repository
Browse code

Added an unstalbe-alike distclean target to 2.4 Makefile.

  • Loading branch information...
commit 2b0d9c5ac61f8bc20e354f46bbadfa5020fd5714 1 parent 19fb740
Salvatore Sanfilippo authored

Showing 2 changed files with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  Makefile
  2. +3 0  src/Makefile
2  Makefile
@@ -14,6 +14,8 @@ clean:
14 14 cd deps/linenoise && $(MAKE) $@
15 15 -(cd deps/jemalloc && $(MAKE) distclean)
16 16
  17 +distclean: clean
  18 +
17 19 $(TARGETS):
18 20 cd src && $(MAKE) $@
19 21
3  src/Makefile
@@ -195,6 +195,9 @@ redis-server: $(OBJ)
195 195 clean:
196 196 rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov
197 197
  198 +distclean: clean
  199 + -(cd .. && $(MAKE) clean)
  200 +
198 201 dep:
199 202 $(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise
200 203

0 comments on commit 2b0d9c5

Please sign in to comment.
Something went wrong with that request. Please try again.