summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Evans <bevans@formulafolios.com>2020-03-03 10:58:38 -0800
committerBrian Evans <bevans@formulafolios.com>2020-03-03 10:58:38 -0800
commitdeb8833369072ddb7a99378824daab5fd0401966 (patch)
tree2a8b0e9df9c08fef8117ac9f08c71dae60a203d0 /Makefile
parent81b7c93c963a17cb4984b0f382c2869f0ea3af06 (diff)
Adds support for windows in makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4c8df06..592a507 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,14 @@ UNAME := $(shell uname -s)
SYN := /syntax
FT := /ftdetect
-ifeq ($(UNAME), Haiku)
-ROOT = /boot/home/config/settings/vim
+ifeq ($(OS), Windows_NT)
+ ROOT := $(HOME)/vimfiles
else
-ROOT := ~/.vim
+ ifeq ($(UNAME), Haiku)
+ ROOT := /boot/home/config/settings/vim
+ else
+ ROOT := ~/.vim
+ endif
endif
.PHONY: install