Updated makefile with flags