Update makefile advanced