view Makefile @ 11:b952a5d72c9f >>178

Luaのソースコードを追加。2ch.netからの転載。
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Thu, 24 Feb 2011 22:23:25 +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