commit 6a1109e
Artur Manuel
·
2026-05-05 00:09:03 +0000 UTC
parent 3c95065
makefile: enforce POSIX, add a few needed commands
1 files changed,
+8,
-1
M
Makefile
M
Makefile
+8,
-1
1@@ -1,3 +1,5 @@
2+.POSIX:
3+
4 SHELL = /bin/sh
5 GO ?= go
6 PREFIX ?= /usr/local
7@@ -14,9 +16,14 @@ install: all
8 clean:
9 rm ./webfetch
10
11+test:
12+ go test ./...
13+
14+format:
15+ go fmt ./...
16+
17 .PHONY: help
18 help:
19 @echo "Usage:"
20 @echo "all: make webfetch"
21 @echo "install: install webfetch"
22-