diff options
author | Brian Evans <bevans@formulafolios.com> | 2020-03-03 10:58:38 -0800 |
---|---|---|
committer | Brian Evans <bevans@formulafolios.com> | 2020-03-03 10:58:38 -0800 |
commit | deb8833369072ddb7a99378824daab5fd0401966 (patch) | |
tree | 2a8b0e9df9c08fef8117ac9f08c71dae60a203d0 | |
parent | 81b7c93c963a17cb4984b0f382c2869f0ea3af06 (diff) |
Adds support for windows in makefile
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |