Question: what are cflags and ldflags?
Answer: CFLAGS stands for compiler flags; LDFLAGS for linker flags (the linker is ld ). So, where is the documentation for CFLAGS and LDFLAGS ? It is part of the c compiler documentation where command line options are described.