mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Joe Shaw](/assets/img/avatar_default.png)
* sample/Makefile.in: Use -L compiler flags and specify all of the assemblies to link against. svn path=/trunk/gtk-sharp/; revision=4587
25 lines
774 B
Makefile
Executable File
25 lines
774 B
Makefile
Executable File
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 -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp HelloWorld.cs
|
|
|
|
button.exe: ButtonApp.cs
|
|
$(MCS) --unsafe -o button.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp ButtonApp.cs
|
|
|
|
clean:
|
|
rm -f *.exe
|
|
|
|
unix:
|
|
@echo "'make unix' is broken for now."
|
|
|
|
install:
|
|
|