Hello, is there a way to change a variable inside a rule? Maybe like this:
LIST = a.c b.c c.c d.c
%.c:
# creating %.c
here add $@ to the variable FILES, but simply FILES += $@ doesn't work here
end:
@echo files compiled: $(FILES)
all: $(LIST) end
Thank you for any help
Martin_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
