[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #52017] Multiple intermediate pattern targets badly managed

From: anonymous
Subject: [bug #52017] Multiple intermediate pattern targets badly managed
Date: Thu, 14 Sep 2017 09:48:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36


                 Summary: Multiple intermediate pattern targets badly managed
                 Project: make
            Submitted by: None
            Submitted on: Thu 14 Sep 2017 01:48:50 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None



I have a Makefile using pattern rules with multiple targets. Some of the
targets are intermediate, and used on other targets.

GNU make does not identify those files are intermediate: it does not remove
them after building the targets, and it rebuild everything if they are

In order to test the provided MWE, please execute:

make source

which will create the example source files.

In the provided MWE, if you execute:


(or make all)

this will create an intermediate file my.int. This file will not be deleted
after make has finished. If you delete the file manually, next execution of:


will rebuild everything.


File Attachments:

Date: Thu 14 Sep 2017 01:48:50 PM UTC  Name: Makefile  Size: 145B   By: None


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]