Slower compile time when using the command make

Hello,

I used to write OF programs in code::blocks, but now I have moved to using MSYS2 just using vim, and it seems that whenever I execute ‘make’, it takes a lot longer to compile than whenever I just pressed F9 in code::blocks. Did code::blocks execute additional flags along with make to get an optimized compile time?

Thanks!