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/


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

Reply via email to