-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add -MMD option #1673
base: master
Are you sure you want to change the base?
Add -MMD option #1673
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for preparing this, here's some feedback:
vppreproc
Outdated
# produces a list of makefile dependency rules suitable for use by a make utility | ||
if ($opt_mmd) { | ||
my $opt_output_filename_d; # .d file | ||
my $dep_file; # MMD target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to inside foreach, just before set
vppreproc
Outdated
my $dep_file; # MMD target | ||
if ($opt_output_filename) { | ||
# Create a single .d | ||
my($filename, $dirs, $suffix) = File::Basename::fileparse($opt_output_filename, qr/\.[^.]*/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my($filename, $dirs, $suffix) = File::Basename::fileparse($opt_output_filename, qr/\.[^.]*/); | |
my ($filename, $dirs, $suffix) = File::Basename::fileparse($opt_output_filename, qr/\.[^.]*/); |
Co-authored-by: Wilson Snyder <[email protected]>
Co-authored-by: Wilson Snyder <[email protected]>
Co-authored-by: Wilson Snyder <[email protected]>
Co-authored-by: Wilson Snyder <[email protected]>
Co-authored-by: Wilson Snyder <[email protected]>
Co-authored-by: Wilson Snyder <[email protected]>
Thanks for the feedback. Here are the changes. |
Here is the
-MMD
option in vppreproc.