add compile and test with profiling in Makefile