separate cflags and link flags