]> git.saurik.com Git - redis.git/commitdiff
make dep: redirect output to Makefile.dep.
authorantirez <antirez@gmail.com>
Wed, 11 Apr 2012 10:12:05 +0000 (12:12 +0200)
committerantirez <antirez@gmail.com>
Wed, 11 Apr 2012 10:12:05 +0000 (12:12 +0200)
src/Makefile

index 833ba35d9ff4dbaf811bbec7a76f0736713df664..656300d32cf2bbe6aec4af3912623720de4b48e4 100644 (file)
@@ -103,7 +103,7 @@ all: $(R_SERVER_NAME) $(R_CLI_NAME) $(R_BENCHMARK_NAME) $(R_CHECK_DUMP_NAME) $(R
 include Makefile.dep
 
 dep:
-       $(R_CC) -MM *.c
+       $(R_CC) -MM *.c > Makefile.dep
 
 .PHONY: dep