main, Makefile: hook up codegen_expr for primitive cases