exchange c and s,add a simple Makefile