added library creation to chat Makefile