add more flags to main and remove ansi flags from makefile