Introduce a real "main".
Update Makefile.
Clean smc.h.
New smc.c.
Last clean for smc.h.