dict @ 07f7f50fd5ff577896314984d1f365631be093bc

 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