bench-fibo

Unnamed repository; edit this file 'description' to name the repository.
git clone https://logand.com/git/bench-fibo.git/
Log | Files | Refs | README

Makefile (961B)


      1 all: fibo40 ofibo40 fibo40int.class fibo40int2.class fibo40int3.class fibo40.class
      2 
      3 .c.l:
      4 
      5 fibo40: fibo40.c
      6 	gcc -O2 -o fibo40 fibo40.c
      7 
      8 ofibo40: ofibo40.m
      9 	gcc -g -O2 -Wall -o ofibo40 ofibo40.m -lobjc
     10 
     11 fibo40int.class: fibo40int.java
     12 	javac fibo40int.java
     13 
     14 fibo40int2.class: fibo40int2.java
     15 	javac fibo40int2.java
     16 
     17 fibo40int3.class: fibo40int3.java
     18 	javac fibo40int3.java
     19 
     20 fibo40.class: fibo40.java
     21 	javac fibo40.java
     22 
     23 bench:
     24 	cat fibo25.l | time ~/lisp/picoLisp-3.0.4/bin/picolisp
     25 	cat fibo30.l | time ~/lisp/picoLisp-3.0.4/bin/picolisp
     26 	cat fibo40.l | time ~/lisp/picoLisp-3.0.4/bin/picolisp
     27 	cat fibo25.lua | time lua
     28 	cat fibo30.lua | time lua
     29 	cat fibo40.lua | time lua
     30 	cat fibo25.lua | time luajit-2.0.0-beta2
     31 	cat fibo30.lua | time luajit-2.0.0-beta2
     32 	cat fibo40.lua | time luajit-2.0.0-beta2
     33 	time ./fibo40
     34 	time ./ofibo40
     35 	time java fibo40int
     36 	time java fibo40int2
     37 	time java fibo40int3
     38 	time java fibo40
     39 
     40 clean:
     41 	rm -f *~ *.o *.class fibo40 ofibo40