Fixed how SHELL is set in Makefiles, fix make depend on linux

This commit is contained in:
Landon Curt Noll
2021-12-07 04:18:39 -08:00
parent 4b2ae40c86
commit faf40b7149
5 changed files with 24 additions and 28 deletions

View File

@@ -72,9 +72,12 @@
#
# SHELL= /bin/zsh
#
SHELL= /bin/sh
#SHELL= /bin/bash
#SHELL= /bin/zsh
SHELL= /bin/bash
#if 0 /* start of skip for non-Gnu makefiles */
ifeq ($(target),Darwin)
SHELL:= /bin/zsh
endif
#endif /* end of skip for non-Gnu makefiles */
# PREFIX - Top level location for calc
@@ -515,7 +518,7 @@ FMT= fmt
GREP= egrep
LN= ln
MAKE= make
MAKEDEPEND= /usr/bin/makedepend
MAKEDEPEND= makedepend
MKDIR= mkdir
MV= mv
RM= rm
@@ -1303,11 +1306,6 @@ depend:
else \
${TRUE}; \
fi
${Q} if [ ! -x "${MAKEDEPEND}" ]; then \
echo "makedepend command not found: ${MAKEDEPEND}"; \
echo "aborting depend rule"; \
exit 1; \
fi
${Q} echo forming custom/skel
${Q} ${RM} -rf skel
${Q} ${MKDIR} -p skel

View File

@@ -72,9 +72,12 @@
#
# SHELL= /bin/zsh
#
SHELL= /bin/sh
#SHELL= /bin/bash
#SHELL= /bin/zsh
SHELL= /bin/bash
#if 0 /* start of skip for non-Gnu makefiles */
ifeq ($(target),Darwin)
SHELL:= /bin/zsh
endif
#endif /* end of skip for non-Gnu makefiles */
# PREFIX - Top level location for calc
@@ -515,7 +518,7 @@ FMT= fmt
GREP= egrep
LN= ln
MAKE= make
MAKEDEPEND= /usr/bin/makedepend
MAKEDEPEND= makedepend
MKDIR= mkdir
MV= mv
RM= rm

View File

@@ -193,11 +193,6 @@ depend:
else \
${TRUE}; \
fi
${Q} if [ ! -x "${MAKEDEPEND}" ]; then \
echo "makedepend command not found: ${MAKEDEPEND}"; \
echo "aborting depend rule"; \
exit 1; \
fi
${Q} echo forming custom/skel
${Q} ${RM} -rf skel
${Q} ${MKDIR} -p skel