Complete makefile toolkit with generation and validation capabilities
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
You are building a C application called httpd for a project with the following layout:
httpd/
├── src/
│ ├── main.c
│ ├── server.c
│ └── router.c
├── include/
│ └── httpd.h
└── tests/
└── test_router.cRequirements:
-Wall -Wextra -O2, user-overridablebuild/httpd-MMD -MP flagsall, install, clean, test, helpinstall copies the binary to $(PREFIX)/bin (PREFIX defaults to /usr/local)help prints available targets using ## comment extraction?=Produce a single Makefile that satisfies all the requirements above. Include a validation checklist at the end as a comment block showing which items were verified.