diff -r f4806bc22860 -r 5bfd6f2d1ae7 .emacs-my --- a/.emacs-my Wed Jun 01 21:10:14 2011 +0300 +++ b/.emacs-my Tue Jun 07 15:06:20 2011 +0300 @@ -1212,8 +1212,10 @@ ;;; ---------------------------------------------------------------- (message "compile") -(setq compile-auto-highlight t - compile-command "make ") +(setq compile-auto-highlight t) +(setq compile-command "make ") +(when (eq system-type 'berkeley-unix) + (setq compile-command "gmake ")) ;; compilation window shall scroll down if not 0 (setq compilation-scroll-output 1)