tFetch modules form mkfile/makefile - icmphop - Add hops in ipv6 traceroute
HTML git clone git://git.z3bra.org/icmphop.git
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 9c46a1508a8cf426905bee8a7df7bd38f81cfb47
DIR parent a17a160c01dceabd7e112266fe5566b774077c47
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 13 Oct 2022 16:08:53 +0200
Fetch modules form mkfile/makefile
Diffstat:
M makefile | 5 +++++
M mkfile | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
DIR diff --git a/makefile b/makefile
t@@ -4,9 +4,14 @@
all: icmphop
+icmphop: go.sum
+
.go:
${GO} build -o $@ $<
+go.sum: go.mod
+ go mod tidy
+
clean:
rm -f icmphop
DIR diff --git a/mkfile b/mkfile
t@@ -2,9 +2,14 @@
all:V: icmphop
+icmphop: go.sum
+
%: %.go
$GO build -o $stem $stem.go
+go.sum: go.mod
+ go mod tidy
+
clean:V:
rm -f icmphop