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:
python generate.py $@
nnvm.d: nnvm.cc
${CXX} ${CFLAGS} -MD -MF $@ \
${CXX} ${CFLAGS} -M -MT nnvm.o \
-I ${NNVM_ROOT}/ -I ${NNVM_ROOT}/include \
-D__MIN__=$(MIN) -c $+
rm nnvm.o
-D__MIN__=$(MIN) $+ > nnvm.d
nnvm-all.cc: nnvm.d nnvm.cc
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