mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 13:15:35 +00:00
4c5644e45d
building the samples (sample/makefile.win32 is out of date anyway) (clean target fixed) svn path=/trunk/gtk-sharp/; revision=17969
31 lines
671 B
Plaintext
Executable file
31 lines
671 B
Plaintext
Executable file
DIRS=glue generator api glib pango atk gdk gtk glade
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
|
|
|
|
all: windows
|
|
|
|
windows:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
|
|
done;
|
|
|
|
clean:
|
|
rm -f api/generated-stamp
|
|
rm -rf lib
|
|
-find -iname "*.exe" -exec rm -f \{\} \;
|
|
-find -iname "*.dll" -exec rm -f \{\} \;
|
|
|
|
for i in $(DIRS); do \
|
|
rm -rf $$i/generated; \
|
|
done;
|
|
|
|
release: clean windows
|
|
mkdir lib
|
|
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
|
|
|
docs:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; CSC="$(CSC)" make -f makefile.win32 docs) || exit 1;\
|
|
done;
|
|
|