--- a/ltfatmex.m
+++ b/ltfatmex.m
@@ -279,7 +279,7 @@
     % Compile the JAVA classes
     cd([bp,'blockproc',filesep,'java']);
     clear mex; 
-    [status,result]=system([make_exe, ' -f ',makefilename]);
+    [status,result]=system(make_exe);
     if(~status)
       disp('Done.');
     else