bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45311] makes only one of two dependencies that depend on the same


From: Frank Heckenbach
Subject: [bug #45311] makes only one of two dependencies that depend on the same subdir-pattern rule
Date: Fri, 12 Jun 2015 22:55:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]