bug-make
[Top][All Lists]
Advanced

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

[bug #51292] Handling make rules where prerequisites are determined by f


From: Mike Gran
Subject: [bug #51292] Handling make rules where prerequisites are determined by functions for specific targets lists
Date: Thu, 22 Jun 2017 13:32:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0

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

Is this what you mean?

CFLAGS = -g -O2 -Wall

all: demo

define GCOMP2
(define (root->list-of-objects target)
  (list (string-append target "_foo.o")
        (string-append target "_bar.o")))
#f
endef

$(guile $(GCOMP2))

demo: $(guile (root->list-of-objects "demo"))
        $(CC) $(LDFLAGS) -o $@ $^


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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