Build automation in linux makefile