From 59b50bd04a6cd5e67683d6aff2645e84b7c62e02 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 17 Nov 2022 08:06:16 +0100 Subject: [PATCH] BUILD: makefile: mark poll and tcploop targets as phony Since these ones come with their own makefiles, the top-level makefile cannot decide when they have to be rebuilt, it should always defer the decision to the compoent's makefile, so we must mark them as phony. Because of these, they were not updated after a change without calling a "clean" first. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8e70ab75f..3e765aec1 100644 --- a/Makefile +++ b/Makefile @@ -1043,7 +1043,7 @@ dev/udp/udp-perturb: dev/udp/udp-perturb.o $(cmd_LD) $(LDFLAGS) -o $@ $^ $(LDOPTS) # rebuild it every time -.PHONY: src/version.c +.PHONY: src/version.c dev/poll/poll dev/tcploop/tcploop src/calltrace.o: src/calltrace.c $(DEP) $(cmd_CC) $(TRACE_COPTS) -c -o $@ $<