I am compiling huge C code base, And we are using Make
build system to automate the build process. Basically we use lot of flags which are scattered across multiple make files and those compiler flags are being used to compile .C files. Is there a way to find what all compiler flags are being used to compile to .C source files once after completion of build?
Is there any tracing mechanism exists to find what all flags are being used for compiling and linking?
Is there any tracing mechanism exists to find what all flags are being used for compiling and linking?