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