mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 06:05:30 +00:00
e9f5e789b6
Ditto for generator and api. svn path=/trunk/gtk-sharp/; revision=6829
22 lines
310 B
Makefile
22 lines
310 B
Makefile
MCS=mcs
|
|
RUNTIME=mono
|
|
|
|
all: linux
|
|
|
|
windows: *.cs
|
|
$(CSC) /unsafe /out:codegen.exe *.cs
|
|
./codegen gtkapi.xml
|
|
|
|
linux: gapi_codegen.exe
|
|
|
|
clean:
|
|
rm -f *.exe
|
|
|
|
prefix=@prefix@
|
|
|
|
install: all
|
|
cp gapi_codegen.exe $(DESTDIR)$(prefix)/bin
|
|
|
|
gapi_codegen.exe: *.cs
|
|
$(MCS) --unsafe -o gapi_codegen.exe -r System.Xml *.cs
|