mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 04:25:30 +00:00
4afe3261ae
svn path=/trunk/gtk-sharp/; revision=10195
22 lines
554 B
Makefile
Executable file
22 lines
554 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
|
|
|
|
linux: gdk-sharp.dll
|
|
|
|
gdk-sharp.dll: *.cs generated/*.cs
|
|
$(MCS) --unsafe --target library -r System.Drawing -L ../glib -L ../pango -L ../atk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -o gdk-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
cp gdk-sharp.dll $(DESTDIR)@prefix@/lib
|
|
|