Building files from multiple sources

One of the most common operations in a makefile is turning a number of source files into one target file (for example, a program binary).

bin_PROGRAMS = bug-buddy

bug_buddy_SOURCES = \
        $(bb_built_sources)     \
        bug-buddy.c             \
        bug-buddy.h             \
        md5-utils.c             \
        md5-utils.h             \
        bugzilla.c              \
        bugzilla.h              \
        cell-renderer-uri.c     \
        cell-renderer-uri.h     \
        config.c                \
        gdb-buddy.c             \
        libglade-buddy.h        \
        save-buddy.c            \
        save-buddy.h            \
        signal-buddy.c          \
        signal-buddy.h          \
        united-states-of-bug-buddy.c

Aside from the $(bb_built_sources) variable, everything here should be clear.

The bug-buddy file is a program and will be installed in the bindir location when make install is run.