Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make/matlab.mak: faster compilaton

  • Loading branch information...
commit a79a3c7ccc6e093fc8dc56f7f6b8a5e284240bbf 1 parent 3cc0ed0
@vedaldi vedaldi authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 make/matlab.mak
View
6 make/matlab.mak
@@ -107,10 +107,8 @@ $(MEX_BINDIR)/%.d : %.c $(mex-dir)
'$(MEX_BINDIR)/$*.$(MEX_SUFFIX) $(MEX_BINDIR)/$*.d' \
"$(<)" -MF "$(@)"
-$(MEX_BINDIR)/%.$(MEX_SUFFIX) : %.c $(mex-dir)
- @make -s $(dll_tgt)
- @ln -sf "../../../$(BINDIR)/lib$(DLL_NAME).$(DLL_SUFFIX)" \
- "$(MEX_BINDIR)/lib$(DLL_NAME).$(DLL_SUFFIX)"
+$(MEX_BINDIR)/%.$(MEX_SUFFIX) : %.c $(mex-dir) $(dll_tgt)
+ @ln -sf "../../../$(dll_tgt)" "$(MEX_BINDIR)/"
$(call C,MEX) \
CFLAGS='$$CFLAGS $(MEX_CFLAGS)' \
LDFLAGS='$$LDFLAGS $(MEX_LDFLAGS)' \
Please sign in to comment.
Something went wrong with that request. Please try again.