Make Rules
Build automation with Makefiles. Define targets, dependencies, and recipes for compiling and running tasks.
3 rules
Makefile .PHONY Declaration Rules
Beginner
Enforce .PHONY declarations for all non-file targets in Makefiles — prevent incorrect caching, improve performance, and ensure targets always run when invoked.
globs: **/Makefile, **/makefile, **/*.mk
phony, targets, caching, best-practices
View Rule
Makefile Tab Indentation Rule
Beginner
Enforce tab-only indentation for Makefile recipe lines — the single most common Makefile syntax error and how to configure editors to prevent it.
globs: **/Makefile, **/makefile, **/*.mk
tabs, indentation, syntax, editor-config
View Rule
Makefile Target Organization Standards
Beginner
Standards for organizing Makefile targets — section grouping, naming conventions, dependency ordering, and required targets for every project Makefile.
globs: **/Makefile, **/makefile, **/*.mk
organization, naming-conventions, required-targets, structure
View Rule