Useful Links
Computer Science
Other Tools and Technologies
Make Build Tool
1. Introduction to Build Automation and Make
2. Getting Started with Makefiles
3. Variables and Macros
4. Rules and Patterns
5. Functions
6. Conditional Processing
7. Managing Complex Projects
8. Advanced Topics and Best Practices
9. Make Beyond Compilation
Rules and Patterns
Explicit Rules
Definition and Syntax
Single Target Rules
Multiple Target Rules
Use Cases for Explicit Rules
Rule Ordering
Pattern Rules
Introduction to Pattern Matching
Percent Sign (%) Wildcard
Pattern Matching Behavior
Stem Extraction
Creating Generic Rules
Basic Pattern Rule Syntax
Common Pattern Examples
%.o: %.c
%.exe: %.o
%: %.c
Pattern Rule Matching
Rule Selection Process
Multiple Pattern Matches
Pattern Specificity
Advanced Pattern Techniques
Multiple Patterns
Pattern Prerequisites
Pattern Variables
Suffix Rules (Legacy)
Old-Style Suffix Rules
.SUFFIXES Special Target
Conversion to Pattern Rules
Deprecation and Alternatives
Implicit Rules
Make's Built-in Rule Database
Common Built-in Rules
C/C++ Compilation Rules
Linking Rules
Archive Rules
How Make Selects Implicit Rules
Rule Search Algorithm
Prerequisite Matching
Command Generation
Chaining Implicit Rules
Multi-step Rule Application
Intermediate File Handling
Chain Length Limits
Customizing Implicit Rules
Overriding Built-in Rules
Adding New Implicit Rules
Disabling Implicit Rules
-r Command Line Flag
.SUFFIXES: Empty Target
Performance Considerations
Static Pattern Rules
Syntax and Structure
Target List Specification
Pattern and Prerequisite Definition
Recipe Application
Use Cases
Selective Pattern Application
Mixed File Types
Conditional Processing
Comparison with Regular Pattern Rules
Flexibility Differences
Performance Implications
Readability Considerations
Previous
3. Variables and Macros
Go to top
Next
5. Functions