Commit 9afe7c11 by Howard Su Committed by Tianqi Chen

Fix the build to generate .d file (#99)

parent c3306dd8
...@@ -9,10 +9,9 @@ nnvm.cc: ...@@ -9,10 +9,9 @@ nnvm.cc:
python generate.py $@ python generate.py $@
nnvm.d: nnvm.cc nnvm.d: nnvm.cc
${CXX} ${CFLAGS} -MD -MF $@ \ ${CXX} ${CFLAGS} -M -MT nnvm.o \
-I ${NNVM_ROOT}/ -I ${NNVM_ROOT}/include \ -I ${NNVM_ROOT}/ -I ${NNVM_ROOT}/include \
-D__MIN__=$(MIN) -c $+ -D__MIN__=$(MIN) $+ > nnvm.d
rm nnvm.o
nnvm-all.cc: nnvm.d nnvm.cc nnvm-all.cc: nnvm.d nnvm.cc
python ./amalgamation.py $+ $@ python ./amalgamation.py $+ $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment