Makefile: Replace the m4 crock with a proper GNU Make crock.