Home : programming
GNU build tools
| Command | Input file | Output
file |
| automake | Makefile.am
(hand-written) | Makefile.in |
autoconf processes configure.in (hand-written)
Flags
CPPFLAGS
E.g. CPPFLAGS=-Wall. You would also use it for the
-I directive to include library headers.
LDFLAGS
These are linker flags. You specify library paths to link to
here. E.g. LDFLAGS=-L/usr/local/lib
Passing the flags
You pass them into configure using commands like:
env CPPFLAGS='-I/usr/include/ncurses ...' LDFLAGS='-L...' ./configure
Links to other sites
autotut -
tutorial on using gnu autoconf, automake, autoheader
Author: Mark Carter
Created: 28-Dec-2007
Updated: 13-Nov-2010