Move C compiler warning (-W) flags from CFLAGS to AM_CFLAGS.