moving shared lib based programs into its makefile