mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 01:55:35 +00:00
5c87903756
* makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) svn path=/trunk/gtk-sharp/; revision=9828
22 lines
371 B
Makefile
Executable file
22 lines
371 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
|
|
|
|
linux: glib-sharp.dll
|
|
|
|
glib-sharp.dll: *.cs
|
|
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
cp glib-sharp.dll $(DESTDIR)@prefix@/lib || exit 1
|
|
|