comparison Makefile @ 0:2216535ade9c

メンバー関数/メソッド呼び出しのベンチマーク。
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Tue, 15 Feb 2011 13:47:19 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2216535ade9c
1 FLAGS= -O2 -s
2 ALL: Looping_c.exe Looping_c++.exe Looping_objc.exe Looping_objc-IMP.exe Looping.class
3 Looping_c.exe : Looping.c
4 gcc -o Looping_c.exe Looping.c $(FLAGS)
5
6 Looping_c++.exe : Looping.cpp
7 g++ -o Looping_c++.exe Looping.cpp $(FLAGS)
8
9 Looping_objc.exe : Looping.M
10 g++ -o Looping_objc.exe Looping.M -lobjc $(FLAGS)
11
12 Looping_objc-IMP.exe : Looping-IMP.M
13 g++ -o Looping_objc-IMP.exe Looping-IMP.M -lobjc $(FLAGS)
14
15 Looping.class : Looping.java
16 javac Looping.java
17
18 clean:
19 rm -f *.exe *.class
20