Skip to content

Commit

Permalink
Avoid to generate invalid make dependencies.
Browse files Browse the repository at this point in the history
  clang generate <built-in> and <command line>, gcc49 generate
  <command-line>.
  • Loading branch information
Alexandre Perrin committed Feb 18, 2014
1 parent 1d09acc commit b7c3539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makedepend.SH
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ for file in `$cat .clist`; do
-e '/^# *[0-9]/!d' \
-e 's/^.*"\(.*\)".*$/'$filebase'.o: \1/' \
-e 's|: \./|: |' \
-e '/<built-in>/d' \
-e '/<command.line>/d' \
-e 's|\.c\.c|.c|' | \
$uniq | $sort | $uniq >> .deptmp
done
Expand Down

0 comments on commit b7c3539

Please sign in to comment.