aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a04902b..8190661 100644
--- a/Makefile
+++ b/Makefile
@@ -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