On Fri, Sep 3, 2021 at 5:58 PM Jeffrey.Fellin--- via Bug reports and
discussion for GNU make wrote:
>
> I have a project that compiles .S and .c files, and the value of CFLAGS in
> the sub makefile is not the same for the compile lines
> ...
> The compile of bug.S succeeds, but doesn’t have the c
___
From: Bug-make on behalf of
Jeffrey.Fellin--- via Bug reports and discussion for GNU make
Sent: Friday, September 3, 2021 13:34
To: bug-make@gnu.org
Subject: sub makefile does not use correct value of CFLAGS from top make file,
* EXTERNAL EMAIL *
I ha
Unlike variable assignments, rules--including overrides of built-in pattern
rules--are not inherited by recursively invoked instances of make. They
have to be in a makefile read by the instance of make that needs them.
(GNU makes built-in rules and variables have TARGET_ARCH for basically all
typ