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
0610683d
Commit
0610683d
authored
Jul 06, 2016
by
antirez
Browse files
Makefile: don't build dependencies file for clean, distclean.
parent
10361829
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
0610683d
...
...
@@ -16,6 +16,7 @@ release_hdr := $(shell sh -c './mkreleasehdr.sh')
uname_S
:=
$(
shell
sh
-c
'uname -s 2>/dev/null || echo not'
)
OPTIMIZATION
?=
-O2
DEPENDENCY_TARGETS
=
hiredis linenoise lua geohash-int
NODEPS
:=
clean distclean
# Default settings
STD
=
-std
=
c99
-pedantic
-DREDIS_STATIC
=
''
...
...
@@ -145,7 +146,9 @@ all: $(REDIS_SERVER_NAME) $(REDIS_SENTINEL_NAME) $(REDIS_CLI_NAME) $(REDIS_BENCH
Makefile.dep
:
-
$(REDIS_CC)
-MM
*
.c
>
Makefile.dep 2> /dev/null
||
true
ifeq
(0, $(words $(findstring $(MAKECMDGOALS), $(NODEPS))))
-include
Makefile.dep
endif
.PHONY
:
all
...
...
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