aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 1fa3b49e5580558081b5a0de4a643f51f1e0abb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BIN?=bin/dict

buid: ext
	go build -v --tags "fts5" -o $(BIN) .

run: ext
	go run -v --tags "fts5" .

import: ext
	go run -v --tags "fts5" . import

ext:
	gcc -shared -o ext/libsqlite3ext.so -fPIC ext/spellfix.c

.PHONY: ext