diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue Feb 15 13:47:19 2011 +0900
@@ -0,0 +1,20 @@
+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
+