Add basic state transitions.
Finally learn how to use target wildcards in the Makefile.