Permalink
Browse files

genprime.rb: adding Rubinius interpreter target

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information...
1 parent 7659da4 commit 0cf5021efd8ca787dd33103140c4e43200962c33 @tycho committed Dec 10, 2008
Showing with 7 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +6 −1 Makefile
View
@@ -4,3 +4,4 @@
*.s
genprime-*
genprime.*.py
+*.rbc
View
@@ -3,7 +3,7 @@ ARGS=250000 1000000
all: genprime-java genprime-c genprime-py25 genprime-py30 genprime-objc genprime-cpp genprime-cs genprime-c-llvm genprime-c-icc genprime-c-clang
clean:
- rm -f genprime.*.py *.pyc *.class genprime-* *.s *.bc *.ll
+ rm -f genprime.*.py *.pyc *.class genprime-* *.s *.bc *.ll *.rbc
version:
@echo
@@ -37,6 +37,8 @@ version:
@echo
-ruby --version
@echo
+ -rbx -v
+ @echo
run: all
@echo "genprime (C GCC)"
@@ -89,6 +91,9 @@ run: all
@echo
@echo "genprime (Ruby)"
@-ruby genprime.rb $(ARGS)
+ @echo
+ @echo "genprime (Ruby Rubinius)"
+ @-rbx genprime.rb $(ARGS)
genprime-java: genprime.class

0 comments on commit 0cf5021

Please sign in to comment.