Add Makefile to each library.