URL: <http://savannah.gnu.org/bugs/?52017>
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 _______________________________________________________ Details: 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 deleted. 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: make (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: make will rebuild everything. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 14 Sep 2017 01:48:50 PM UTC Name: Makefile Size: 145B By: None MWE <http://savannah.gnu.org/bugs/download.php?file_id=41803> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52017> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make