OpenOCD
Autotools Style Guide

This page contains style guidelines for the OpenOCD autotools scripts.

The following guidelines apply to the configure.ac file:

  • Better guidelines need to be developed, but until then...
  • Use good judgement.

The following guidelines apply to Makefile.am files:

  1. When assigning variables with long lists of items:
    1. Separate the values on each line to make the files "patch friendly":
      VAR = \
      value1 \
      value2 \
      ...
      value9 \
      value10