Adds support for windows in makefile

This commit is contained in:
Brian Evans 2020-03-03 10:58:38 -08:00
parent 81b7c93c96
commit deb8833369
1 changed files with 7 additions and 3 deletions

View File

@ -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