diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 16 |
2 files changed, 12 insertions, 9 deletions
@@ -1,7 +1,10 @@ -Sat Feb 3 03:22:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat Feb 3 03:35:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized. + * common.mk (runruby, benchmark, benchmark-each, tbench): use + PROGRAM for the file to be built. + * proc.c (yarv_proc_alloc): needs return. * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c, @@ -594,20 +594,20 @@ compare-test-each: miniruby$(EXEEXT) PHONY run: miniruby$(EXEEXT) PHONY $(MINIRUBY) -I$(srcdir)/lib $(srcdir)/test.rb $(RUNOPT) -runruby: $(RUBY) PHONY - ./$(RUBY) -I$(srcdir)/lib -I. $(srcdir)/tool/runruby.rb $(srcdir)/test.rb +runruby: $(PROGRAM) PHONY + $(RUNRUBY) $(srcdir)/test.rb parse: miniruby$(EXEEXT) PHONY $(MINIRUBY) $(srcdir)/tool/parse.rb $(srcdir)/test.rb -benchmark: $(RUBY) PHONY - $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb $(OPT) $(ITEMS) --ruby=./$(RUBY) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib +benchmark: $(PROGRAM) PHONY + $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb $(OPT) $(ITEMS) --ruby=./$(PROGRAM) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib -benchmark-each: $(RUBY) PHONY - $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb bm_$(ITEM) $(OPT) --ruby=./$(RUBY) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib +benchmark-each: $(PROGRAM) PHONY + $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb bm_$(ITEM) $(OPT) --ruby=./$(PROGRAM) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib -tbench: $(RUBY) PHONY - $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb bmx $(OPT) --ruby=./$(RUBY) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib +tbench: $(PROGRAM) PHONY + $(BASERUBY) -I$(srcdir)/lib $(srcdir)/benchmark/run.rb bmx $(OPT) --ruby=./$(PROGRAM) --matzruby=$(MATZRUBY) --opts=-I$(srcdir)/lib aotc: $(RUBY) -I$(srcdir) -I. $(srcdir)/tool/aotcompile.rb $(INSNS2VMOPT) |