e966ffb7f7
* */makefile: Allow a different MCS to be passed in on the make command line. svn path=/trunk/gtk-sharp/; revision=3902
21 lines
492 B
Makefile
21 lines
492 B
Makefile
DIRS=generator glib pango atk gdk gtk sample
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
|
MCS=mcs
|
|
|
|
all:
|
|
@echo "You must use 'make windows' or 'make linux'."
|
|
@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."
|
|
|
|
linux:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; MCS="$(MCS)" make linux) || exit 1;\
|
|
done;
|