]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: udp-perturb: Add a make target for udp-perturb tool
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 8 Sep 2022 18:47:28 +0000 (20:47 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 8 Sep 2022 18:47:28 +0000 (20:47 +0200)
This is only to rely on make to build this tool.

Makefile

index 10c9ef7b4392c89f8a42d48f80be398ba1c19a09..e798b534f6851c1a8f25373fc62fdcee2186abc8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1036,6 +1036,9 @@ dev/qpack/decode: dev/qpack/decode.o
 dev/tcploop/tcploop:
        $(Q)$(MAKE) -C dev/tcploop tcploop CC='$(cmd_CC)' OPTIMIZE='$(COPTS)'
 
+dev/udp/udp-perturb: dev/udp/udp-perturb.o
+       $(cmd_LD) $(LDFLAGS) -o $@ $^ $(LDOPTS)
+
 # rebuild it every time
 .PHONY: src/version.c