Skip to content

Commit 969bd08

Browse files
committed
Improve setting default Emacs path for macOS
1 parent 6cf843f commit 969bd08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
UNAME_S=$(shell uname -s)
12
EMACS_ROOT ?= ../..
2-
EMACS ?= emacs
3+
ifeq ($(UNAME_S),Darwin)
4+
EMACS ?= /Applications/Emacs.app/Contents/MacOS/Emacs
5+
else
6+
EMACS ?= emacs
7+
endif
38

49
CC = gcc
510
LD = gcc

0 commit comments

Comments
 (0)