makefile adjustment

distributed makefile, one for the libApex, one for the project, they can
be call separatly and running make in project will run make in lib
clean project will clean the project and make mrproper will clean both