Add makefile
make timer.h use  clock_t
fix gcc compilation