mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 08:23:19 +02:00
![Rachel Hestilow](/assets/img/avatar_default.png)
* 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
|