-ECHO_CMD=
+ECHO_CMD=@
DIRS= dll \
cats \
$(DIRS):
@if test -f Makefile.inc; then \
if $(MAKE) -C $@ $(MAKECMDGOALS); then \
- echo -e "\n===== Make of $@ succeeded =====\n\n" ; \
+ echo "\n===== Make of $@ succeeded =====\n\n" ; \
else \
- echo -e "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+ echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
fi ; \
fi
INCDIR=/mingw/include; \
DLLDIR=/mingw/bin; \
else \
- echo -e "\nThe GCC cross compiler isn't installed."; \
- echo -e "You must run build-win32-cross-tools and build-dependencies first.\n"; \
+ echo "\nThe GCC cross compiler isn't installed."; \
+ echo "You must run build-win32-cross-tools and build-dependencies first.\n"; \
exit 1; \
fi ; \
- sed -e "s^@TOPDIR@^$${TOPDIR}^" \
+ $(ECHO_CMD)BUILDDIR=`(pwd)`; \
+ sed \
+ -e "s^@BUILDDIR@^$${BUILDDIR}^" \
+ -e "s^@TOPDIR@^$${TOPDIR}^" \
-e "s^@BINDIR@^$${BINDIR}^" \
-e "s^@INCDIR@^$${INCDIR}^" \
-e "s^@DLLDIR@^$${DLLDIR}^" < Makefile.inc.in > $@