CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/makefile-toolkit

Complete makefile toolkit with generation and validation capabilities

97

Quality

97%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdgenerator/evals/scenario-5/

Task: Generate a Multi-Directory C++ Project Makefile

You are building a top-level Makefile for a C++ project with three sub-components:

engine/
  src/   (produces libengine.a)
renderer/
  src/   (produces librenderer.a, depends on libengine.a)
app/
  src/   (produces bin/game, links libengine.a and librenderer.a)

Top-level Makefile requirements:

  • Use $(MAKE) for all recursive calls into sub-directories, never bare make
  • Build order: engine first, then renderer, then app (explicit dependency ordering)
  • all builds everything in correct order
  • clean calls $(MAKE) clean in each sub-directory
  • test calls $(MAKE) test in each sub-directory
  • help target present with ## comments

For the app/ component Makefile (produce this as app/Makefile):

  • Compiler: CXX ?= g++
  • Source glob: $(wildcard src/*.cpp)
  • Object files in build/ directory using order-only prerequisite | $(BUILDDIR)
  • Dependency tracking: -MMD -MP and -include of generated .d files
  • Modern GNU Make header

Produce both the top-level Makefile and app/Makefile.

generator

evals

instructions.json

summary_infeasible.json

summary.json

SKILL.md

tile.json