1 DIRS=jay mcs class nunit nunit20 monoresgen ilasm tools
2 DIST=monocharge-`date -u +%Y%m%d`
10 if ! which $(MCS); then \
11 echo You must have a C\# compiler installed to continue.; \
12 echo This is typically provided by \'mono\'.; \
13 echo Read INSTALL.txt for details.; \
16 for i in $(DIRS) ; do \
17 $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
21 if test x$$prefix = x; then \
22 echo Usage is: make -f makefile.gnu install prefix=YOURPREFIX; \
25 for i in $(DIRS) ; do \
26 $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
30 for i in $(DIRS) ; do \
31 $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
35 -rm -f monocharge-*.tar.gz
36 for i in $(DIRS) ; do \
37 $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
40 # Please do only use `binary-snapshot', the `dist' target will disappear really soon !
45 for i in $(DIRS) ; do \
46 $(MAKE) -C $$i -f makefile.gnu install prefix=$(PWD)/$(DIST) || exit 1; \
48 tar -c $(DIST) | gzip > $(DIST).tar.gz