Use gmake on FreeBSD.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 07 Jun 2011 15:06:20 +0300
changeset 638 5bfd6f2d1ae7
parent 637 f4806bc22860
child 639 3e66a9605c4f
Use gmake on FreeBSD.
.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)