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 SYN := /syntax
FT := /ftdetect FT := /ftdetect
ifeq ($(UNAME), Haiku) ifeq ($(OS), Windows_NT)
ROOT = /boot/home/config/settings/vim ROOT := $(HOME)/vimfiles
else else
ROOT := ~/.vim ifeq ($(UNAME), Haiku)
ROOT := /boot/home/config/settings/vim
else
ROOT := ~/.vim
endif
endif endif
.PHONY: install .PHONY: install