e5db28deea
svn path=/trunk/gtk-sharp/; revision=4807
24 lines
792 B
Makefile
Executable file
24 lines
792 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 -r System.Drawing ButtonApp.cs
|
|
|
|
clean:
|
|
rm -f *.exe
|
|
|
|
unix:
|
|
@echo "'make unix' is broken for now."
|
|
|
|
install:
|
|
|