More sophisticated Makefile.