14 .PHONY: $(DIRS) clean all Makefile.inc installer newinstaller
16 all: Makefile.inc $(DIRS) installer newinstaller
18 clean: $(DIRS) installer newinstaller
19 $(ECHO_CMD)-rm -rf release
22 @if test -f Makefile.inc; then \
23 if $(MAKE) -C $@ $(MAKECMDGOALS); then \
24 echo "\n===== Make of $@ succeeded =====\n\n" ; \
26 echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
31 @if test -f Makefile.inc; then \
32 if $(MAKE) -C $@ $(MAKECMDGOALS); then \
33 echo "\n===== Make of $@ succeeded =====\n\n" ; \
35 echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
40 @if test -f Makefile.inc; then \
41 if $(MAKE) -C $@ $(MAKECMDGOALS); then \
42 echo "\n===== Make of $@ succeeded =====\n\n" ; \
44 echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
50 $(ECHO_CMD)TOPDIR=`(cd ../../..;pwd)`; \
51 if test -e ../../../cross-tools/mingw32/bin/mingw32-gcc; then \
52 BINDIR=$${TOPDIR}/cross-tools/mingw32/bin; \
53 INCDIR=$${TOPDIR}/cross-tools/mingw32/mingw32/include; \
54 DLLDIR=$${TOPDIR}/cross-tools/mingw32/mingw32/bin; \
55 elif test -e /mingw/bin/mingw32-gcc; then \
57 INCDIR=/mingw/include; \
60 echo "\nThe GCC cross compiler isn't installed."; \
61 echo "You must run build-win32-cross-tools and build-dependencies first.\n"; \
65 MAINDIR=`(cd ../..;pwd)`; \
67 -e "s^@WIN32BUILDDIR@^$${BUILDDIR}^" \
68 -e "s^@WIN32MAINDIR@^$${MAINDIR}^" \
69 -e "s^@WIN32TOPDIR@^$${TOPDIR}^" \
70 -e "s^@WIN32BINDIR@^$${BINDIR}^" \
71 -e "s^@WIN32INCDIR@^$${INCDIR}^" \
72 -e "s^@WIN32DLLDIR@^$${DLLDIR}^" < Makefile.inc.in > $@