Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
dd78d8f2
Commit
dd78d8f2
authored
Feb 20, 1999
by
Hallvard Furuseth
Browse files
Add $CC_MKDEP_FLAGS to override -M
parent
d66726da
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/mkdep
View file @
dd78d8f2
...
...
@@ -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
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment