You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2019/07/19 03:42:28 UTC
[incubator-mxnet] 08/28: Update Makefile
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to tag v1.1
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
commit 1cc000001d3f3aa54cd0c455eacb352274e1fc1e
Author: Tianqi Chen <tq...@users.noreply.github.com>
AuthorDate: Fri May 16 16:57:22 2014 -0700
Update Makefile
change ldflag potision
---
example/neuralnet/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/example/neuralnet/Makefile b/example/neuralnet/Makefile
index bec7d0e..7cb45e4 100644
--- a/example/neuralnet/Makefile
+++ b/example/neuralnet/Makefile
@@ -26,7 +26,7 @@ nnet: nnet.cu
convnet: convnet.cu
$(BIN) :
- $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^)
+ $(CXX) $(CFLAGS) -o $@ $(filter %.cpp %.o %.c, $^) $(LDFLAGS)
$(OBJ) :
$(CXX) -c $(CFLAGS) -o $@ $(firstword $(filter %.cpp %.c, $^) )