summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-07-17 12:31:02 -0300
committerEuAndreh <eu@euandre.org>2024-07-17 12:31:02 -0300
commit256e16b04802b4600cee00c39fbad26d1af3ab06 (patch)
tree1cd40dc5e0caf59eb53e99158939e67090c1fff1 /Makefile
parentsrc/lib.go, tests/lib_test.go: Normaline function argument declarations (diff)
downloadpapod-256e16b04802b4600cee00c39fbad26d1af3ab06.tar.gz
papod-256e16b04802b4600cee00c39fbad26d1af3ab06.tar.xz
Tweak indentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ae1799a..8801328 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,8 @@ EXEC = ./
## Where to store the installation. Empty by default.
DESTDIR =
LDLIBS =
-GOFLAGS = -tags 'linux libsqlite3 json1 fts5 sqlite_foreign_keys sqlite_omit_load_extension' -ldflags '-extldflags "-static -lm"'
+GOFLAGS = -ldflags '-extldflags "-static -lm"' -tags 'linux libsqlite3 \
+ json1 fts5 sqlite_foreign_keys sqlite_omit_load_extension'
@@ -57,10 +58,10 @@ all: $(derived-assets)
$(NAME).bin: src/lib.go src/cmd/main.go Makefile
- env CGO_ENABLED=1 go build -o $@ -v $(GOFLAGS) src/cmd/main.go
+ env CGO_ENABLED=1 go build -v $(GOFLAGS) -o $@ src/cmd/main.go
tests/lib_test.bin: src/lib.go tests/lib_test.go Makefile
- env CGO_ENABLED=1 go test -o $@ -v $(GOFLAGS) -c $*.go
+ env CGO_ENABLED=1 go test -v $(GOFLAGS) -o $@ -c $*.go