URL:
  <http://savannah.gnu.org/bugs/?45311>

                 Summary: makes only one of two dependencies that depend on
the same subdir-pattern rule
                 Project: make
            Submitted by: frank
            Submitted on: Fr 12 Jun 2015 22:55:52 GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

% cat Makefile
all: testdir/a testdir/b
%/a %/b:; touch $@
% rm -rf testdir
% mkdir testdir
% make
touch testdir/a
% make
touch testdir/b

The first make only makes "a" and forgets "b". I wondered if my
rules are actually right like this, but since the second time
make does make "b", it seems so to me. It works as expected when
I write two separate, but identical, rules for %/a and %/b.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45311>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/


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

Reply via email to