2002-05-02 21:57:41 +00:00
|
|
|
MCS=mcs
|
|
|
|
|
2002-06-21 20:58:07 +00:00
|
|
|
local_paths=-L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk
|
|
|
|
all_assemblies=-r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing
|
|
|
|
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
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
|
|
|
|
|
2002-05-29 08:13:46 +00:00
|
|
|
linux: gtk-hello-world.exe button.exe menu.exe
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
gtk-hello-world.exe: HelloWorld.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o gtk-hello-world.exe $(local_paths) $(all_assemblies) HelloWorld.cs
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
button.exe: ButtonApp.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o button.exe $(local_paths) $(all_assemblies) ButtonApp.cs
|
2002-05-02 21:57:41 +00:00
|
|
|
|
2002-05-29 08:13:46 +00:00
|
|
|
menu.exe: Menu.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o menu.exe $(local_paths) $(all_assemblies) Menu.cs
|
2002-05-29 08:13:46 +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."
|
|
|
|
|
2002-06-21 20:25:43 +00:00
|
|
|
install: linux
|
|
|
|
@echo "Nothing to install."
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
|