]> 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 16:29:31 +0000 (18:29 +0200)
src/Makefile

index 616842343b7b4979f6f3498fda72b46f8f8b1843..a32aa5a382b8d7af93786a3e526f4beea76c2af4 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