How to include automatic variables as part of a dependency

Michael Powell <[email protected]> Wed, 20 Sep 2017 18:11:39 -0700 (PDT)
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
Hello,

I wonder is this possible.

$(OBJS):
# compile ...

$(EXES): $(@:.exe=.obj)
# link ...

Where OBJS is the requisite list of object files, and EXES is a corresponding list of executables.

This is running via Git for Windows of course, GNU Make 3.80.

I could have sworn this was working for me the other day, but now on a sudden it is not.

I can probably work around this desired approach, but I'd like to go this route if possible.

Thank you...

Regards,

Michael Powell