Correct usage of Makefile.inc and add support for cn400