change the directory of the source and add build directory
change makefile for compiles