Skip to content

Extend --emit dep-info to optionally list "phony" tagets for all dependencies #21645

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

Closed
thepowersgang opened this issue Jan 26, 2015 · 2 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@thepowersgang
Copy link
Contributor

When using --emit=dep-info in a makefile, a missing file (due to being renamed or re-factored away) will cause make to terminate the build instantly.

GCC/Clang mitigate this by using the -MP flag when creating dependencies, which emits extra rules of the form dependency: to tell make to ignore the files if they are missing.

@steveklabnik steveklabnik added the A-frontend Area: Compiler frontend (errors, parsing and HIR) label Jan 27, 2015
@steveklabnik
Copy link
Member

Triage: not aware of any changes here.

@thepowersgang
Copy link
Contributor Author

Duplicate of #28735, and fixed in 1741962. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

2 participants