aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-09 00:23:10 -0600
committerJoel Martin <github@martintribe.org>2015-02-09 00:23:10 -0600
commit7f567f36457b937c36345becdb7c1101566dcdf3 (patch)
tree6481177a8a297475b3b361503e66315e5698b11d /Makefile
parentb550d8b72a16aa83de1de9e76ac66ab000a0ef2f (diff)
downloadmal-7f567f36457b937c36345becdb7c1101566dcdf3.tar.gz
mal-7f567f36457b937c36345becdb7c1101566dcdf3.zip
matlab: stepA, perf test, comments.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a7969d6..9a9054c 100644
--- a/Makefile
+++ b/Makefile
@@ -92,8 +92,8 @@ lua_RUNSTEP = ../$(2) $(3)
make_RUNSTEP = make -f ../$(2) $(3)
mal_RUNSTEP = $(call $(MAL_IMPL)_RUNSTEP,$(1),$(call $(MAL_IMPL)_STEP_TO_PROG,stepA),../$(2),") #"
ocaml_RUNSTEP = ../$(2) $(3)
-matlab_args = $(subst $(SPACE),$(COMMA),$(patsubst %,'%',$(strip $(1))))
-matlab_RUNSTEP = matlab -nodisplay -nosplash -nodesktop -nojvm -r "$($(1))($(call matlab_args,$(4)));quit;"
+matlab_args = $(subst $(SPACE),$(COMMA),$(foreach x,$(strip $(1)),'$(x)'))
+matlab_RUNSTEP = matlab -nodisplay -nosplash -nodesktop -nojvm -r "$($(1))($(call matlab_args,$(3)));quit;"
perl_RUNSTEP = perl ../$(2) --raw $(3)
php_RUNSTEP = php ../$(2) $(3)
ps_RUNSTEP = $(4)gs -q -I./ -dNODISPLAY -- ../$(2) $(3)$(4)