[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-cflow] question about automake recipe
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-cflow] question about automake recipe |
Date: |
Tue, 22 Mar 2016 08:30:05 +0200 |
Hi Britton,
> The manual chapter 11 shows:
>
> program_CFLOW_INPUT=$(program_OBJECTS:.$(OBJEXT)=.c)
[...]
> I'm wondering why program_CFLOW_INPUT is computed this way, and if
> it's ok to instead say:
>
> program_CFLOW_INPUT = $(filter %.c,$(program_SOURCES))
It is OK if you are using GNU make.
The Makefile fragment you are referring to was designed to be acceptable
for all flavors of make, therefore it didn't use GNU extensions.
Regards,
Sergey