1.生成configure
a. autoscan =>configure.scan => configure.in
b. aclocal => aclocal.m4
c. autoconf => configure
2. 新建Makefile.am
AUTOMAKE_OPTIONS=foreign
bin_PROGRAMS=helloworld
helloworld_SOURCES=helloworld.c
3. automake => Makefile.in
4. ./configure => Makefile