From 844abb0207d0ccd3e8f787084bf08ea98ef552a5 Mon Sep 17 00:00:00 2001 From: Andrea Vedaldi Date: Thu, 15 Jan 2015 06:45:21 -0800 Subject: [PATCH] [bugfix] make/matlab.mak: fixes a bug causing the compilation to fail under Linux and MATLAB R2010 --- make/matlab.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/matlab.mak b/make/matlab.mak index 4c211b92..4dde699e 100644 --- a/make/matlab.mak +++ b/make/matlab.mak @@ -70,7 +70,7 @@ $(MEX_BINDIR)/matlabver.mak: $(mex-dir) $(MATLAB_EXE) -nodesktop -nosplash -nojvm \ -r \ "f=fopen('$(MEX_BINDIR)/matlabver.mak','w');"\ -"fprintf(f,'MATLAB_VER=%d\n',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();" +"fprintf(f,'MATLAB_VER=%d',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();" ifdef MATLAB_PATH ifeq ($(filter $(no_dep_targets), $(MAKECMDGOALS)),)