URL:
  <https://savannah.gnu.org/bugs/?65737>

                 Summary: missing intermediate target invalidates group
                   Group: make
               Submitter: stsp
               Submitted: Пн 13 мая 2024 19:50:35
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.4.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Пн 13 мая 2024 19:50:35   By: Stas Sergeev <stsp>
```
FILES = a b
.INTERMEDIATE: a

all: foo

$(FILES) &:
        touch $(FILES)

foo: b
        cat $< >$@
```

This makefile causes infinite rebuilds.
The problem is that file `a` is deleted
as being intermediate, but that mistakenly
invalidates entire group. As the result,
the targets that depend on `b` are re-built.

Missing intermediate targets should not
invalidate group.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65737>

_______________________________________________
Сообщение отправлено по Savannah
https://savannah.gnu.org/


Reply via email to