add gtags-mode to makefile/dired-*-hook