On Fri, 2018-10-19 at 09:39 +0000, Edward Welbourne wrote: > TARGETS = bin/animation.exe bin/barchart.exe ... > > $(TARGETS): bin/%.exe: $(%_OBJ) $(LIBS) > $(call link_EXE, $@, $^)
If you try this, you'll see it doesn't work. Variables are expanded before the pattern is substituted, so $(%_OBJ) tries to expand the variable %_OBJ which is empty. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make