URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16531>

                 Summary: Substitution reference and secondary expansion
                 Project: make
            Submitted by: None
            Submitted on: 金曜日 2006年05月05日 at 15:36 UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: 3.81
        Operating System: POSIX-Based
           Fixed Release: None

    _______________________________________________________

Details:

The make doesn't recognize substitution references while the
secondary expansion. I don't find any restrictive note about
this in the manual either.


--------
.PHONY: foo.bar

.SECONDEXPANSION:
#foo: $$(patsubst %,%.bar,$$@)
foo: $$(@:%=%.bar)
[EMAIL PROTECTED] $^
--------
Makefile:5: *** target pattern contains no `%'.  Stop.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16531>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to