help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to include automatic variables as part of a dependency


From: Michael Powell
Subject: How to include automatic variables as part of a dependency
Date: Wed, 20 Sep 2017 18:11:39 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]