Restoring recursive makefile

This commit restores the `Makefile.am` from the `recursive-make` branch, which somehow got lost.