mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 03:55:28 +00:00
0f652408ed
* Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. svn path=/trunk/gtk-sharp/; revision=6977
24 lines
366 B
Makefile
24 lines
366 B
Makefile
MCS=mcs
|
|
RUNTIME=mono
|
|
DESTDIR=
|
|
|
|
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
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/bin && \
|
|
cp gapi_codegen.exe $(DESTDIR)$(prefix)/bin
|
|
|
|
gapi_codegen.exe: *.cs
|
|
$(MCS) --unsafe -o gapi_codegen.exe -r System.Xml *.cs
|