diff options
| author | tsne <tsne.dev@outlook.com> | 2025-01-01 14:58:28 +0100 |
|---|---|---|
| committer | tsne <tsne.dev@outlook.com> | 2025-10-30 08:32:49 +0100 |
| commit | 44e5ad763794a438ecfd50c8b7f6ea760ea82da5 (patch) | |
| tree | 575a1fc72ceb1d7f052cf582abc1e038e27f69a3 /Makefile | |
| download | porteur-main.tar.gz | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac7e938 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.POSIX: + +PREFIX = zig-out + +all: install + +install: + zig build --prefix "$(PREFIX)" --release=small --verbose + +test: + zig build test --summary all + +freebsd: + zig build --prefix "$(PREFIX)" --release=small --verbose -Dpath-prefix=/usr/local -Dtarget=x86_64-freebsd |