codegen, Makefile: add primitive Codegen