File tree 3 files changed +6
-194
lines changed
3 files changed +6
-194
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ deps/lua/src/liblua.a
27
27
.make- *
28
28
.prerequisites
29
29
* .dSYM
30
+ Makefile.dep
Original file line number Diff line number Diff line change @@ -142,15 +142,12 @@ all: $(REDIS_SERVER_NAME) $(REDIS_SENTINEL_NAME) $(REDIS_CLI_NAME) $(REDIS_BENCH
142
142
@echo " Hint: It's a good idea to run 'make test' ;)"
143
143
@echo " "
144
144
145
- .PHONY : all
146
-
147
- # Deps (use make dep to generate this)
148
- include Makefile.dep
145
+ Makefile.dep :
146
+ -$(REDIS_CC ) -MM * .c > Makefile.dep 2> /dev/null || true
149
147
150
- dep :
151
- $(REDIS_CC ) -MM * .c > Makefile.dep
148
+ -include Makefile.dep
152
149
153
- .PHONY : dep
150
+ .PHONY : all
154
151
155
152
persist-settings : distclean
156
153
echo STD=$(STD ) >> .make-settings
@@ -211,7 +208,7 @@ $(REDIS_CHECK_AOF_NAME): $(REDIS_CHECK_AOF_OBJ)
211
208
$(REDIS_CC ) -c $<
212
209
213
210
clean :
214
- rm -rf $(REDIS_SERVER_NAME ) $(REDIS_SENTINEL_NAME ) $(REDIS_CLI_NAME ) $(REDIS_BENCHMARK_NAME ) $(REDIS_CHECK_RDB_NAME ) $(REDIS_CHECK_AOF_NAME ) * .o * .gcda * .gcno * .gcov redis.info lcov-html
211
+ rm -rf $(REDIS_SERVER_NAME ) $(REDIS_SENTINEL_NAME ) $(REDIS_CLI_NAME ) $(REDIS_BENCHMARK_NAME ) $(REDIS_CHECK_RDB_NAME ) $(REDIS_CHECK_AOF_NAME ) * .o * .gcda * .gcno * .gcov redis.info lcov-html Makefile.dep
215
212
216
213
.PHONY : clean
217
214
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments