added a test profile program
simpliefied Makefiles