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.
This commit is contained in:
Willy Tarreau 2022-11-17 08:06:16 +01:00
parent 3a72ba2aed
commit 59b50bd04a
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@ $<