diff options
| author | tsne <tsne.dev@outlook.com> | 2026-05-13 11:33:08 +0200 |
|---|---|---|
| committer | tsne <tsne.dev@outlook.com> | 2026-05-22 08:25:27 +0200 |
| commit | c5b88c66ca8956df26ed87a7397862009e18cfc7 (patch) | |
| tree | 5a862bdacdeaa7fff73bf1bb2a423eee38f9b6e5 /Makefile | |
| parent | initial commit (diff) | |
| download | porteur-c5b88c66ca8956df26ed87a7397862009e18cfc7.tar.gz | |
upgrade to zig 0.16
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,9 @@ .POSIX: -PREFIX = zig-out +PREFIX = zig-out +GIT_SHA = $(shell git rev-parse --short HEAD) +GIT_SHA != git rev-parse --short HEAD +VERSION = dev-$(GIT_SHA) all: install @@ -11,4 +14,7 @@ test: zig build test --summary all freebsd: - zig build --prefix "$(PREFIX)" --release=small --verbose -Dpath-prefix=/usr/local -Dtarget=x86_64-freebsd + zig build --prefix "$(PREFIX)" --release=small --verbose \ + -Dtarget=x86_64-freebsd \ + -Dversion=$(VERSION) \ + -Dpath-prefix=/usr/local |