Commit dd78d8f2 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Add $CC_MKDEP_FLAGS to override -M

parent d66726da
......@@ -26,6 +26,7 @@ set -e # exit immediately if any errors occur
MAKE=Makefile # default makefile name is "Makefile"
NOSLASH="no" # by default, / dependencies are included
CC=${CC-cc} # default compiler is cc
: ${CC_MKDEP_FLAGS="-M"} # cc -M usually produces dependencies
SRCDIR=""
SED=cat
......@@ -127,7 +128,7 @@ cat << _EOF_ >> $TMP
_EOF_
$CC -M $files | \
$CC $CC_MKDEP_FLAGS $files | \
sed -e 's; \./; ;g' | \
$SED | \
awk '
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment