updated Makefile action when type on make