gitignore and set C_FLAGS instead of CXX_FLAGS