This page about How to build applications on Linux. ISO C and its standard library are described in C Tips. POSIX/Linux specific features and enhancements are described in Linux Programming.
Use indent to constistently format your C-code. Here a configuration example for indent
to be put in $HOME/.indent.pro
:
/* Default Config: Use Kernighan & Ritchie coding style: */ --k-and-r-style /* My minor variants to Kernighan & Ritchie Style: */ --line-length 80 /* Because default is 75 */ --no-tabs /* Use spaces instead of tabs */ -brf /* Place function opening brace after function declaration */
Usage:
find -name '*.c' -print0 | xargs -0 indent
\n
) as input. Files with other line endings can be converted with fromdos
or sbfromdos
See GNU GCC
See GNU Gprof
See GNU Make
[Makefile.am] → (automake) ⇒ [Makefile.in]
[Makefile.in] ⇓ [configure.ac] → (autoconf) ⇒ [(configure)] ⇒ [Makefile] -> make ⇒ ...