[FFmpeg-devel] [PATCH] support per-file CFLAGS settings

Bernhard Rosenkraenzer bero
Sun Oct 28 21:14:52 CET 2007

On Sunday 28 October 2007, M?ns Rullg?rd wrote:
> > "CFLAGS-elbg.o = -O2"
> Does this bring any advantage over normal syntax supported by GNU
> make?  Like this:
> elbg.o: CFLAGS=-02

Oh, neat, I wasn't aware of this feature.
The difference is CFLAGS-elbg.o appends to the normal CFLAGS instead of 
replacing them, but

elbg.o: CFLAGS += -O2

does the same thing indeed, so (unless we care about non-GNU makes and they 
can deal with the patch but not with this) there's no need to apply the 

More information about the ffmpeg-devel mailing list