|
From: | David Boyce |
Subject: | [bug #49661] syntax anomaly with order-only prereqs and pattern rules |
Date: | Mon, 21 Nov 2016 14:33:09 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?49661> Summary: syntax anomaly with order-only prereqs and pattern rules Project: make Submitted by: boyski Submitted on: Mon 21 Nov 2016 02:33:07 PM GMT 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: None Fixed Release: None Triage Status: None _______________________________________________________ Details: It appears that order-only prerequisites do not accumulate for pattern targets when specified without a recipe. The test case should explain pretty clearly. Here's the makefile: % cat Makefile .PHONY: all all: foo.a bar.b %.a: A B | C @echo "making $@ from '$^ | $|'" %.b: | C %.b: A B @echo "making $@ from '$^ | $|'" And here's the sample run: % mkdir -p A B C % make making foo.a from 'A B | C' making bar.b from 'A B | ' _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49661> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |