-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (22 loc) · 832 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
vim9-fuzzy:
gcc $(CFLAGS) $(LDFLAGS) native/app/*.c -Inative/ext/jsmn -Os -luv -o bin/vim9-fuzzy
macports-vim9-fuzzy:
LDFLAGS=-L/opt/local/lib CFLAGS=-I/opt/local/include $(MAKE) vim9-fuzzy
online-build:
rm -rf build
cmake -Bbuild -DBUILD_STATIC=ON
cmake --build build --target install/strip
linux-download:
mkdir -p bin
curl -L https://github.com/kohnish/vim9-fuzzy/releases/download/v2.0/vim9-fuzzy-linux-x86-64 -o bin/vim9-fuzzy
chmod +x bin/vim9-fuzzy
win-download:
mkdir -p bin
curl -L https://github.com/kohnish/vim9-fuzzy/releases/download/v2.0/vim9-fuzzy-win-x86-64 -o bin/vim9-fuzzy.exe
chmod +x bin/vim9-fuzzy.exe
macos-download:
mkdir -p bin
curl -L https://github.com/kohnish/vim9-fuzzy/releases/download/v2.0/vim9-fuzzy-osx-x86-64 -o bin/vim9-fuzzy
chmod +x bin/vim9-fuzzy
clean:
rm bin/vim9-fuzzy