Use signed instead of int
Makefile clean-up
Add codgen stub