bd567cdd45
* makefile : Add the codegen directory * codegen/defs-parse.pl : Moved here from topdir and updated to parse the new defs format for enums and flags. * codegen/gtk-types.defs : Borrowed from pygtk. * codegen/makefile : new * gtk/makefile : remove generation step. * gtk/gtk.defs : removed, now in codegen dir. svn path=/trunk/gtk-sharp/; revision=1139
15 lines
373 B
Makefile
15 lines
373 B
Makefile
DIRS=codegen glib gdk gtk sample
|
|
ROOT=//$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
|
|
|
|
all:
|
|
@echo "You must use 'make windows' or 'make unix'."
|
|
@echo "'make unix' is broken for now."
|
|
|
|
windows:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
|
done;
|
|
|
|
unix:
|
|
@echo "'make unix' is broken for now."
|