|
From: | anonymous |
Subject: | [bug #60435] Chained pattern rules with multiple targets not removing all intermediate files |
Date: | Wed, 21 Apr 2021 22:00:51 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15 |
URL: <https://savannah.gnu.org/bugs/?60435> Summary: Chained pattern rules with multiple targets not removing all intermediate files Project: make Submitted by: None Submitted on: Thu 22 Apr 2021 02:00:49 AM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.3 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: In the following Makefile the _a.2_ file should have been deleted along with _a.1_. ---- ~/src/pattern-chain $ gmake --version GNU Make 4.3 Built for arm-apple-darwin20.2.0 Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ---- ~/src/pattern-chain $ ls -1 Makefile ---- ~/src/pattern-chain $ cat Makefile a.3: %.3: %.1 %.2 cat $^ > $@ %.1 %.2: touch $*.1 $*.2 ---- ~/src/pattern-chain $ make touch a.1 a.2 cat a.1 a.2 > a.3 rm a.1 ~/src/pattern-chain $ ls -1 Makefile a.2 a.3 ---- ~/src/pattern-chain $ _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60435> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |