Re: Defining new targets with eval during secondary expansion?

2017-03-09 Thread Ismail Badawi
make seems to ignore the trailing slash in the prerequisite. As a workaround I can write '$$(@D)/.' (trailing dot) and it works fine. Anyway thanks, this is good enough for me. Thanks, Ismail Ismail Badawi wrote: > > >* I'm trying to define new targets with eval during seco

Defining new targets with eval during secondary expansion?

2017-03-07 Thread Ismail Badawi
Hi folks, I'm trying to define new targets with eval during secondary expansion, but apparently this is not allowed -- with make 4.2.1 I get an error like this: Makefile:94: *** prerequisites cannot be defined in recipes. Stop. I found bugs #24588 and #24622 related to this. My use case is a