Makefile.am
lib_LIBRARIES = libhello.a libhello_a_SOURCES = hello.c
configure.ac
AC_INIT([libhello], [1.0], [ bug@libhello.org ]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC AC_PROG_RANLIB AC_CONFIG_FILES([Makefile]) AC_OUTPUT
The documentation for creating libraries with Automake is here .
source share