1. support .c in makefile generator. 2. add test to check C interfaces.