view Makefile @ 5:861b93741d60

id:sumim氏のSmalltalk版とRuby版のコードを追加。
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Thu, 17 Feb 2011 11:32:17 +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