bug-make
[Top][All Lists]
Advanced

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

[bug #51974] multiline (define/endef) containing target-specific assignm


From: J. Hart
Subject: [bug #51974] multiline (define/endef) containing target-specific assignments causes errors in /bin/sh
Date: Sat, 9 Sep 2017 19:14:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #2, bug #51974 (project make):

case 4:
Makefile:

define EXELNK1
$(1): OBJ1=xOBJ1
endef
define EXELNK2
$(1): OBJ2=xOBJ2
endef
$(call EXELNK1, utl1)
$(call EXELNK2, utl1)
utl1:;@echo "jfh1:pt1:$(OBJ1):$(OBJ2):"

result of invoking make : works as expected


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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