add autodependency with -M