]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: mark poll and tcploop targets as phony
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 07:06:16 +0000 (08:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 09:56:35 +0000 (10:56 +0100)
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

index 8e70ab75fd3e52d86922b4be6f6260b726e356de..3e765aec1ec03d45b0a32ec032d5501caac577bc 100644 (file)
--- 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 $@ $<