2002-05-02 21:57:41 +00:00
|
|
|
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
|
2002-05-13 13:59:40 +00:00
|
|
|
$(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
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
button.exe: ButtonApp.cs
|
2002-05-21 06:27:02 +00:00
|
|
|
$(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
|
2002-05-02 21:57:41 +00:00
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.exe
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
unix:
|
|
|
|
@echo "'make unix' is broken for now."
|
|
|
|
|
|
|
|
install:
|
|
|
|
|