Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
e9b41143
Commit
e9b41143
authored
Jun 06, 1999
by
Kurt Zeilenga
Browse files
-c xxx overrides CC_MKDEP
parent
51a3df2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/mkdep
View file @
e9b41143
...
...
@@ -32,8 +32,8 @@ NOSLASH="no" # by default, / dependencies are included
SRCDIR
=
""
SED
=
cat
:
${
CC
=cc
}
:
${
CC_MKDEP
=
$CC
}
:
${
CC
=cc
}
# use cc by default
:
${
CC_MKDEP
=
$CC
}
# select default compiler to generate dependencies
:
${
CC_MKDEP_FLAGS
=
"-M"
}
# cc -M usually produces dependencies
while
:
...
...
@@ -53,7 +53,8 @@ while :
SRCDIR
=
$2
shift
;
shift
;;
# -c allows you to select a compiler to use (default is cc)
# -c allows you to select a compiler to use to generate
# dependencies. Leaves $CC alone.
-c
)
CC_MKDEP
=
$2
shift
;
shift
;;
...
...
@@ -129,7 +130,7 @@ cat << _EOF_ >> $TMP
#
# files:
$*
# command:
$CC
$CC_MKDEP_FLAGS
$files
# command:
$CC
_MKDEP
$CC_MKDEP_FLAGS
$files
#
_EOF_
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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