make dep: redirect output to Makefile.dep.

This commit is contained in:
antirez 2012-04-11 12:12:05 +02:00
parent c44ab51da1
commit a470689d2e

View 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