view Makefile @ 4:d788c88f41bd >>178

Rubyのベンチマークを追加。ソースコードは2ch.netの>>178からコピー。
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Thu, 17 Feb 2011 09:01:50 +0900
parents 2216535ade9c
children
line wrap: on
line source

FLAGS= -O2 -s
ALL: Looping_c.exe Looping_c++.exe Looping_objc.exe Looping_objc-IMP.exe Looping.class
Looping_c.exe : Looping.c
	gcc -o Looping_c.exe Looping.c $(FLAGS)

Looping_c++.exe : Looping.cpp
	g++ -o Looping_c++.exe Looping.cpp $(FLAGS)

Looping_objc.exe : Looping.M
	g++ -o Looping_objc.exe Looping.M -lobjc $(FLAGS)

Looping_objc-IMP.exe : Looping-IMP.M
	g++ -o Looping_objc-IMP.exe Looping-IMP.M -lobjc $(FLAGS)

Looping.class : Looping.java
	javac Looping.java

clean:
	rm -f *.exe *.class