Paul Smith wrote:
All the .obj files are missing!?
Oh. $@ is "bin/animation.exe" so $(@F) is "animation.exe" and
$($(@F)_OBJ) would be "animation.exe_OBJ" but that's not the name of
your variable, so it expands to the empty string.
Sorry I didn't catch this problem in your original suggestion.
You want:
bin/%.exe: $$($$*_OBJ) $(LIBS)
...
because $* matches the pattern stem, which is "animation" in this case.
That seems to work fine. Thanks a lot!
--
--gv
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make