Follow-up Comment #1, bug #56732 (project make):

Your example doesn't seem to rely on VPATH in any way. Remember: VPATH is used
as a place to look for files.

Also you are using "-lAbc" as prerequisite for output/%. It seems you are
intending to use linker flags as input to the recipe. The way you wrote is it
wrong, it will cause make to look for a file named "-lAbc" (which it won't
find and abort recipe search). Run make with the flag "-d" to see makes
reasoning.

Read up on using implicit rules, and the variables used for the builtin rules
by make. You might want to replace "-lAbc" with  "libAbc.a" and maybe add
appropriate variables if you use the built-in recipes.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56732>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


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

Reply via email to