mirror of
https://github.com/mirror/make.git
synced 2025-03-24 16:50:31 +08:00
Add a warning to control circular dependency detection. Use "warn" as the default action to be backward-compatible. * src/warning.h (enum warning_type): Add warning type wt_circular_dep. * src/warning.c (warn_init): Set default wt_circular_dep to w_warn. * src/remake.c (update_file_1): Consult the circular-dep warning to handle circular dependencies. * tests/scripts/options/warn: Test --warn circular-dep flag. * tests/scripts/variables/WARNINGS: Test .WARNINGS circular-dep flag. * doc/make.texi: Document circular-dep warning. * doc/make.1: Ditto. |
||
---|---|---|
.. | ||
dash-B | ||
dash-C | ||
dash-d | ||
dash-e | ||
dash-f | ||
dash-I | ||
dash-k | ||
dash-l | ||
dash-n | ||
dash-q | ||
dash-r | ||
dash-s | ||
dash-t | ||
dash-W | ||
eval | ||
general | ||
print-directory | ||
print-targets | ||
shuffle | ||
symlinks | ||
warn |