On Sun, 2023-09-03 at 13:14 +0200, Alejandro Colomar wrote:
> > You need to put the ifdef outside the recipe:
> 
> That would hurt readability a little bit.

IMO a make preprocessor statement inside a recipe is a code smell and I
would find the "outside the recipe" version simpler to understand, but
of course this is a personal taste thing.

-- 
Paul D. Smith <psm...@gnu.org>            Find some GNU make tips at:
https://www.gnu.org                       http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist

Reply via email to