Commit | Line | Data |
---|---|---|
a0710ab0 SK |
1 | ifeq ($(shell uname),Darwin) |
2 | DEPS := brew install ninja libtool automake cmake pkg-config gettext | |
3 | else | |
4 | DEPS := sudo apt install cmake libtool-bin | |
5 | endif | |
6 | ||
3994a3bc SK |
7 | .PHONY: all |
8 | all: deps | |
9 | $(MAKE) clone | |
10 | $(MAKE) build | |
11 | ||
12 | .PHONY: deps | |
13 | deps: | |
a0710ab0 | 14 | $(DEPS) |
3994a3bc SK |
15 | |
16 | .PHONY: clone | |
17 | clone: | |
18 | mkdir -p data | |
a0710ab0 | 19 | cd data && git clone https://github.com/neovim/neovim.git || true |
3994a3bc SK |
20 | |
21 | .PHONY: build | |
22 | build: | |
23 | cd data/neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo | |
24 | ||
25 | .PHONY: install | |
26 | install: | |
27 | cd data/neovim && make install |