added flags to makefile