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/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make