Add Windows-specific makefile settings

This commit is contained in:
Tom Willemsen 2018-06-07 10:40:18 -07:00
parent 106fe5ab4c
commit b79835455e
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,5 @@
include ../../dotfiles.mk
SHELL = bash
EMACS := emacs
.SECONDARY:
@ -12,6 +11,10 @@ INIT_LISPS = init/oni-org-init.elc init/oni-js2-init.elc init/oni-gnus-init.elc
$(addsuffix .elc,$(basename $(wildcard init/*.org)))
VENDOR_DIRS = $(wildcard vendor-lisp/*)
ifeq ($(OS),Windows_NT)
include windows.mk
endif
.PHONY: all snippets
all: $(SITE_LISPS) init.elc $(INIT_LISPS) $(AUTOLOADS_FILE) snippets

2
emacs/.emacs.d/windows.mk Executable file
View file

@ -0,0 +1,2 @@
EMACS := C:/msys64/mingw64/bin/emacs.exe
HOME := $(APPDATA)