view Makefile @ 0:2216535ade9c

メンバー関数/メソッド呼び出しのベンチマーク。
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Tue, 15 Feb 2011 13:47:19 +0900
parents
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