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