mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 16:45:35 +00:00
22 lines
456 B
Makefile
22 lines
456 B
Makefile
|
MCS=mcs
|
||
|
DESTDIR=
|
||
|
|
||
|
all: linux
|
||
|
|
||
|
windows:
|
||
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gnomeprint-sharp.dll /recurse:*.cs
|
||
|
|
||
|
linux: gnomeprint-sharp.dll
|
||
|
|
||
|
gnomeprint-sharp.dll: *.cs
|
||
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gnomeprint-sharp.dll --recurse '*.cs'
|
||
|
|
||
|
clean:
|
||
|
rm -f *.dll
|
||
|
rm -rf generated
|
||
|
|
||
|
install: all
|
||
|
../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
||
|
cp gnomeprint-sharp.dll $(DESTDIR)@prefix@/lib || exit 1
|
||
|
|