GtkSharp/makefile.win32
Alp Toker 4c5644e45d * makefile.win32: New clean and release targets, and don't bother
building the samples (sample/makefile.win32 is out of date anyway)

(clean target fixed)

svn path=/trunk/gtk-sharp/; revision=17969
2003-09-07 13:51:59 +00:00

30 lines
671 B
Text
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;