summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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