diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-04-19 18:22:50 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-04-19 18:22:50 +0200 |
commit | 57c782546739fde08138b00e2d0b3ba5f18fb676 (patch) | |
tree | 8f8a46ba9715359ab500d52f7728f97b876466d8 /Makefile | |
parent | 1e36d1ba1ba9659ffd01e06e93ffee670f842ff8 (diff) | |
download | dict-57c782546739fde08138b00e2d0b3ba5f18fb676.tar.gz dict-57c782546739fde08138b00e2d0b3ba5f18fb676.tar.bz2 dict-57c782546739fde08138b00e2d0b3ba5f18fb676.zip |
ref: Better organize the files
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 |