Hello,
I'm installing gcc on my hpux box. The configure script worked fine, and made a Makefile. I assume I now need to run 'Make install' or 'Make config'... The problem is that make reports a syntax error in my Makefile at line 125. --1251 is the line beginning with: $(ALL_BUILD_MODULES):
is the "@" character in the following line the possible error? Should it be preceeded by a quote character?
Many thanks for any thoughts or comments
# This rule is used to build the modules which are built with the
# build machine's native compiler.
.PHONY: $(ALL_BUILD_MODULES)
$(ALL_BUILD_MODULES):
dir=`echo $@ | sed -e 's/all-build-//'`; if [ -f ./$${dir}/Makefile ] ; then r=`pwd`; export r; s=`cd $(srcdir); pwd`; export s; (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); else true; fi
# This rule is used to configure the modules which are built with the
# native tools.
.PHONY: $(CONFIGURE_BUILD_MODULES)
:q
# make install
Make: line 1251: syntax error. Stop.
#
I'm installing gcc on my hpux box. The configure script worked fine, and made a Makefile. I assume I now need to run 'Make install' or 'Make config'... The problem is that make reports a syntax error in my Makefile at line 125. --1251 is the line beginning with: $(ALL_BUILD_MODULES):
is the "@" character in the following line the possible error? Should it be preceeded by a quote character?
Many thanks for any thoughts or comments
# This rule is used to build the modules which are built with the
# build machine's native compiler.
.PHONY: $(ALL_BUILD_MODULES)
$(ALL_BUILD_MODULES):
dir=`echo $@ | sed -e 's/all-build-//'`; if [ -f ./$${dir}/Makefile ] ; then r=`pwd`; export r; s=`cd $(srcdir); pwd`; export s; (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); else true; fi
# This rule is used to configure the modules which are built with the
# native tools.
.PHONY: $(CONFIGURE_BUILD_MODULES)
:q
# make install
Make: line 1251: syntax error. Stop.
#