CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/makefile-generator

Generate GNU Make build systems that define build targets, configure dependencies, set up phony targets, and implement parallel builds. Use when creating make/Makefile/.mk files, implementing compile rules, or building production-ready build automation for C/C++, Go, Python, and Java projects.

Overall
score

93%

Does it follow best practices?

Validation for skill structure

Overview
Skills
Evals
Files

README.mdreferences/

Makefile Generator Reference Documentation

This directory contains comprehensive reference guides for generating production-ready Makefiles.

Quick Navigation

  • Makefile Structure - File organization, layout, includes
  • Variables Guide - Assignment operators, automatic variables, scope
  • Targets Guide - Standard targets, .PHONY declarations, prerequisites
  • Patterns Guide - Pattern rules, language-specific build patterns
  • Optimization Guide - Parallel builds, caching, ccache integration
  • Security Guide - Safe variable expansion, credential handling

Reading Order

For New Makefiles

  1. Start with Makefile Structure to understand file organization
  2. Read Variables Guide for variable assignment and scope
  3. Review Targets Guide for standard GNU targets
  4. Check Patterns Guide for your language (C/C++, Go, Python, Java)

For Production Makefiles

  1. Read Optimization Guide for performance improvements
  2. Review Security Guide for credential handling and safe practices

Common Lookup Tasks

TaskReference
Docker integrationPatterns Guide § Pattern 8
Multi-binary projectsPatterns Guide § Pattern 7
Go with version embeddingPatterns Guide § Pattern 5
Parallel builds, ccacheOptimization Guide
Credentials, secretsSecurity Guide
Complex dependenciesPatterns Guide
Order-only prerequisitesOptimization Guide or Targets Guide
Variable operators (?=, :=, +=)Variables Guide

Usage During Generation

When generating Makefiles, ALWAYS use the Read tool to consult relevant references before writing Makefile content. This ensures patterns are current and correctly applied.

Example workflow:

1. Read references/patterns-guide.md (find your language pattern)
2. Read references/security-guide.md (for Docker/deploy targets)
3. Generate Makefile combining patterns
4. Document which references were consulted in Makefile header

Install with Tessl CLI

npx tessl i pantheon-ai/makefile-generator@0.1.0

references

makefile-structure.md

optimization-guide.md

patterns-guide.md

README.md

security-guide.md

targets-guide.md

variables-guide.md

SKILL.md

tile.json