diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,6 @@ BIN?=bin/dict GO_BUILD=go build -v --tags "fts5" GO_RUN=go run -v --tags "fts5" - buid: ext $(GO_BUILD) -o $(BIN) ./cmd/dict/main.go @@ -12,6 +11,9 @@ run: ext import: ext $(GO_RUN) ./cmd/dict/main.go import +serve: ext + $(GO_RUN) ./cmd/dict/main.go serve + ext: gcc -shared -o ext/libsqlite3ext.so -fPIC ext/spellfix.c |