Sometimes when testing out an pattern or algorithm that requires platform or OS specific features, hardware interfacing or raw speed, C is the only language in which to implement it.

This is a quick note-to-self for future reference. I currently have these steps in a text file on my laptop as a reminder of what needs to be done when starting a simple project in C, allowing Automake to generate your build scripts for you.

  1. Add source files
  2. Add Makefile.am
  3. autoscan
  4. Add AM_INIT_AUTOMAKE to configure.scan
  5. mv configure.scan configure.ac
  6. touch README NEWS AUTHORS ChangeLog
  7. autoreconf --install
  8. ./configure
  9. make