updating makefile for shared compilation