makefile: introduce variable GEN_OPT_FLAGS for general cflag opts