From: Willy Tarreau Date: Thu, 17 Nov 2022 07:06:16 +0000 (+0100) Subject: BUILD: makefile: mark poll and tcploop targets as phony X-Git-Tag: v2.7-dev9~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b50bd04a6cd5e67683d6aff2645e84b7c62e02;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/Makefile b/Makefile index 8e70ab75fd..3e765aec1e 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 $@ $<