Re: CFLAGS and other flag variables

2024-07-17 Thread Alejandro Colomar
Hi Kaz, On Tue, Jul 16, 2024 at 05:10:00PM GMT, Kaz Kylheku wrote: > On 2024-07-16 06:37, Alejandro Colomar wrote: > > Hi Paul! > > > > Usual compilation in a makefile is something like > > > > foo.o: foo.c; $(CC) $(CFLAGS) $< -o $@ > > You should only need: > > foo.o: foo.c > > because

Re: CFLAGS and other flag variables

2024-07-17 Thread Kaz Kylheku
On 2024-07-17 02:11, Alejandro Colomar wrote: > Hi Kaz, > > On Tue, Jul 16, 2024 at 05:10:00PM GMT, Kaz Kylheku wrote: >> because there is a built-in recipe for making .o files > > Except that I do: > > MAKEFLAGS += --no-builtin-rules > MAKEFLAGS += --no-builtin-variables > MAK