aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-09-20 11:37:22 +0200
committerRobin Jarry <robin@jarry.cc>2022-09-20 11:37:58 +0200
commitfcd75ab52973a914bfa5af8e92617c551b59fc1f (patch)
treed077bbd1cf4fa6ad5568f1c7dcb83da6449c2934 /Makefile
parentddca71bcfd41d6eb2449dc6ec038dbada1985c32 (diff)
downloadaerc-fcd75ab52973a914bfa5af8e92617c551b59fc1f.tar.gz
mk: make it obvious that GOFLAGS change cause a rebuild
We had a few issues with that for downstream distros recently. Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8183778f..fa385e7c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@ build_cmd:=$(GO) build $(BUILD_OPTS) $(GOFLAGS) -ldflags "$(GO_LDFLAGS)" -o aerc
_!=grep -sqFx '$(build_cmd)' .aerc.d || rm -f .aerc.d
.aerc.d:
+ @echo 'GOFLAGS have changed, recompiling'
@echo '$(build_cmd)' > $@
aerc: $(GOSRC) .aerc.d