summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-04-07 19:21:50 +0200
committerMartin Polden <mpolden@mpolden.no>2022-04-07 19:34:44 +0200
commit3b683ebbe1ab4e49456a71a2b5529bbb9f397d27 (patch)
tree50c59f13643b40b2844f95b58efae191be9dc9dd /Makefile
parentb84189264f9ca563a09ed8e9a81c7905c94494ca (diff)
makefile: Build with native comp by default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d6e1035..3024c78 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CURDIR ?= $(.CURDIR)
BREW ?= $(shell command -v brew 2> /dev/null)
-BREW_EMACS_FLAGS ?=
+BREW_EMACS_FLAGS ?= --with-native-comp
JDT_LS_HOME ?= $(CURDIR)/eclipse.jdt.ls
JDT_LS_VERSION ?= 1.8.0
@@ -13,13 +13,10 @@ all: install
install:
ln $(LN_FLAGS) $(CURDIR) ~/.emacs.d
-install-emacs-head: BREW_EMACS_FLAGS=--HEAD --with-native-comp
-install-emacs-head: install-emacs
-
install-emacs:
ifneq ($(BREW),)
$(BREW) tap railwaycat/emacsmacport
- $(BREW) install $(BREW_EMACS_FLAGS) emacs-mac
+ $(BREW) install emacs-mac $(BREW_EMACS_FLAGS)
ln -s `$(BREW) --prefix`/opt/emacs-mac/Emacs.app /Applications/Emacs.app || true
else
$(error brew command not found)