added flags, Makefile