dict @ 737113ca1f4bc8ca30b61d9f7ab674e814375c35

 1BIN?=bin/dict
 2GO_BUILD=go build -v --tags "fts5"
 3GO_RUN=go run -v --tags "fts5"
 4
 5buid: ext
 6	$(GO_BUILD) -o $(BIN) ./cmd/dict/main.go
 7
 8run: ext
 9	$(GO_RUN) ./cmd/dict/main.go ui
10
11import: ext
12	$(GO_RUN) ./cmd/dict/main.go import
13
14serve: ext
15	$(GO_RUN) ./cmd/dict/main.go serve
16
17ext:
18	gcc -shared -o ext/libsqlite3ext.so -fPIC ext/spellfix.c
19
20.PHONY: ext