add config schema and update Makefile.targ