You have to make the config program first.  That is automatically done when you build the system from the top level directory.  Do that first, or at least build the config program by itself, then you can regenerate the makefile.