上篇文章介绍helloword我们知道automake我们写Makefile主要做的两件事
1.写.configure.in文件
2.Makefile.am文件
configure.in文件
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
#AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_INIT(base64.cpp)
AM_INIT_AUTOMAKE(encode64, 1.0)
AC_CONFIG_SRCDIR([hello/base64.cpp])
#AC_CONFIG_HEADERS([config.h])
# Checks for programs.
#AC_PROG_CC
AC_PROG_CXX
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_OUTPUT(Makefile
hello/Makefile)