Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2b0d9c5a
Commit
2b0d9c5a
authored
Feb 21, 2012
by
antirez
Browse files
Added an unstalbe-alike distclean target to 2.4 Makefile.
parent
19fb7404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2b0d9c5a
...
@@ -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)
$@
...
...
src/Makefile
View file @
2b0d9c5a
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment