[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66011] dependencies after a non-existing file are silently ignored
|
From: |
Paul D. Smith |
|
Subject: |
[bug #66011] dependencies after a non-existing file are silently ignored |
|
Date: |
Mon, 22 Jul 2024 11:50:24 -0400 (EDT) |
Follow-up Comment #6, bug #66011 (group make):
Yes; if you structure your makefile pattern rules as Dmitry suggests (which is
definitely the right way to do it: you really don't want to add "extra"
prerequisites to a pattern rule beyond only the exact prerequisite that its
built from, such as the .c file, since any missing prereqs cause the rule to
not match) and put the "extra" prerequisites in a separate rule, then as I
said it will still fail, but you'll get a more understandable error message.
However, best is to have your makefile be resilient to these kinds of things
automatically so you don't have to worry about any of it.
Consider this method for example:
https://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66011>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, Dmitry Goncharov, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, Dmitry Goncharov, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, Paul D. Smith, 2024/07/22
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/22
- [bug #66011] dependencies after a non-existing file are silently ignored,
Paul D. Smith <=