Add makefiles for compilation

make files for each library has been added in the RPi subfolder within each module. A folder lib should be created at the rpi level so that compiled libraries are moved there for reference