Automake - a simple example refer to GNU Autoconf, Automake, and Libtool (http://sources.redhat.com/autobook/download.html) /* main.c */ #include "stdio.h" int main(void) { printf("hello world\n"); return 0; } The smallest project requires the user to provide only two files. 'Makefile.am' is an input to automake. 'configure.in' is an input to autoconf. Here is the 'Makefile.am': bin_PROGRAMS = hello hello_SOURCES = main.c Here is the 'configure.in' dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) AM_INIT_AUTOMAKE(hello,1.0) AC_PROG_CC AC_OUTPUT(Makefile) Then follow the steps below: $ aclocal $ autoconf # we generate 'configure' $ touch NEWS README AUTHORS ChangeLog $ automake --add-missing # Automake has now produced a `Makefile.in' $ ./configure $ make all That is Okay!!!