2002-04-18 21:46:56 +00:00
|
|
|
MCS=mcs
|
2002-03-02 12:04:46 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2002-01-04 02:02:28 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
windows: *.cs
|
2002-03-28 21:16:43 +00:00
|
|
|
$(CSC) /unsafe /out:codegen.exe *.cs
|
2002-02-08 23:56:27 +00:00
|
|
|
./codegen gtkapi.xml
|
2002-01-04 02:02:28 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
linux: generated-stamp
|
|
|
|
|
|
|
|
generated-stamp: codegen.exe gtkapi.xml
|
|
|
|
mono ./codegen.exe gtkapi.xml && touch generated-stamp
|
2002-03-02 12:04:46 +00:00
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.exe
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
@echo "Nothing to install in generator."
|
|
|
|
|
|
|
|
codegen.exe: *.cs
|
2002-05-04 09:17:01 +00:00
|
|
|
$(MCS) --unsafe -o codegen.exe -r System.Xml *.cs
|