bug-make
[Top][All Lists]
Advanced

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

[bug #47960] Adding variable assignment and new rule in else, break exec


From: Gianpiero Errigo
Subject: [bug #47960] Adding variable assignment and new rule in else, break execution.
Date: Thu, 19 May 2016 13:10:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

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

                 Summary: Adding variable assignment and new rule in else,
break execution.
                 Project: make
            Submitted by: javier4
            Submitted on: gio 19 mag 2016 13:10:54 GMT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

A makefile working with make 3.82 gives an error with 4.1

This is a simple test-case

ifneq ($(FOO),yes)
foobar:
else
BAR = bar
foobar:
endif
        @echo one


3.41

$ make
Makefile:7: *** recipe commences before first target.  Stop.

$ make FOO=yes
one



3.82

$ ~/bin/make-3.82
one


This is the complete answer of the guy who identified the problem
http://stackoverflow.com/a/37306577/6350583




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

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