Haproxy reported an error and could not find the Makefile file

installation HAProxy reported no Makefile error
error is as follows:
make: * No targets specified and no makefile found. All dependencies about Stop
have been installed

system environment: CentOS 7.4
Software version: haproxy-1.4.24.tar.gz

specific error code:
[root@linux-node1 examples]-sharp uname-r
3.10.0-693.el7.x86_64
[root@linux-node1 examples]-sharp make TARGET=linux31 ARCH=x86_64
make: No targets specified and no makefile found. Stop. *
I read the README file, which only specifies kernel 26 and 26.28. My kernel is 31. Even if I specify kernel 26, I can"t
[root@linux-node1 examples]-sharp make TARGET=linux26 ARCH=x86_64
make: * No targets specified and no makefile found. Stop.
[root@linux-node1 examples]-sharp make TARGET=linux26.28 ARCH=x86_64
make: * No targets specified and no makefile found. Stop.

Mar.04,2021

is it all right with a PREFIX? Do you need to specify TARGET and ARCH separately?

Why is the directory examples??

Menu