Added codegen into makefile

Compiler can call codegen now.