Skip to content

awakia/automake

Repository files navigation

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

About

Experiment automake flow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages