Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 887 Bytes

README.md

File metadata and controls

44 lines (35 loc) · 887 Bytes

Sample Automake Flow

Basic Flow

  1. Prepare automake (i.e. brew install automake)
  2. Move sorces to /src directory
  3. Add Makefile.am
  4. autoscan
  5. mv configure.scan configure.ac
  6. Add AM_INIT_AUTOMAKE line to configure.ac
  7. autoheader
  8. aclocal
  9. Make required files (i.e. touch NEWS README AUTHORS ChangeLog)
  10. automake --add-missing
  11. autoconf
  12. ./configure
  13. make
  14. src/hello

Sample Makefile.am

Makefile.am

SUBDIRS = src

src/Makefile.am

bin_PROGRAMS = hello
hello_SOURCES = hello.cc hello.h main.cc

REFERENCES