mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 01:25:30 +00:00
22 lines
635 B
Makefile
22 lines
635 B
Makefile
|
MCS=mcs
|
||
|
|
||
|
all: linux
|
||
|
|
||
|
windows:
|
||
|
$(CSC) /unsafe /out:gtk-hello-world.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gdk/gdk-sharp.dll HelloWorld.cs
|
||
|
$(CSC) /unsafe /out:button.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll ButtonApp.cs
|
||
|
|
||
|
linux: gtk-hello-world.exe button.exe
|
||
|
|
||
|
gtk-hello-world.exe: HelloWorld.cs
|
||
|
$(MCS) --unsafe -o gtk-hello-world.exe -r ../glib/glib-sharp.dll -r ../gtk/gtk-sharp.dll -r ../gdk/gdk-sharp.dll HelloWorld.cs
|
||
|
|
||
|
button.exe: ButtonApp.cs
|
||
|
$(MCS) --unsafe -o button.exe -r ../glib/glib-sharp.dll -r ../gtk/gtk-sharp.dll ButtonApp.cs
|
||
|
|
||
|
unix:
|
||
|
@echo "'make unix' is broken for now."
|
||
|
|
||
|
install:
|
||
|
|