Skip to content

Instantly share code, notes, and snippets.

@tonypizzicato
Last active August 7, 2017 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonypizzicato/8036ff946bcf46ce618bcf28b1bffa51 to your computer and use it in GitHub Desktop.
Save tonypizzicato/8036ff946bcf46ce618bcf28b1bffa51 to your computer and use it in GitHub Desktop.

Notes

C++ building tools

autotools

Makefile/configure .am/.im files

https://stackoverflow.com/a/2531841

Makefile.am is a programmer-defined file and is used by automake to generate the Makefile.in file (the .am stands for automake). The configure script typically seen in source tarballs will use the Makefile.in to generate a Makefile. The configure script itself is generated from a programmer-defined file named either configure.ac or configure.in (deprecated). I prefer .ac (for autoconf) since it differentiates it from the generated Makefile.in files and that way I can have rules such as make dist-clean which runs rm -f *.in. Since it is a generated file, it is not typically stored in a revision system such as Git, SVN, Mercurial or CVS, rather the .ac file would be. Read about make and Makefile first, then learn about automake, autoconf, libtool, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment