MakefilesA task runner that works everywhere, and the two rules that trip you up.ComputingMake is a dependency graph with a shell attached.Structuretarget: dependencies<TAB>commandMake runs dependencies firstmake with no target runs the first oneEssentials.PHONY: build test — targets that are not files$@ the target name$< the first dependencyVAR ?= defaultGotchasTabs, never spacesEach line is a separate shellUse ; \ to continue one shell$$ for a shell variableDeclare .PHONY for every target that is not a real file, or make will skipit when a file of that name exists.Makefileslearnposters.com
Makefiles — printable computing wall chart from LearnPosters. Free vector PDF, US Letter and A4.

What’s on the Makefiles poster

12 entries in 3 groups.

Make is a dependency graph with a shell attached.

Declare .PHONY for every target that is not a real file, or make will skip it when a file of that name exists.

Questions about the Makefiles poster

What’s on the Makefiles poster?
12 entries in 3 groups. Make is a dependency graph with a shell attached. Structure: target: dependencies, <TAB>command, Make runs dependencies first, make wit…; Essentials: .PHONY: build test — targets that are not files, $@ the target name, $< t…; Gotchas: Tabs, never spaces, Each line is a separate shell, Use ; \ to continue one s…. Declare .PHONY for every target that is not a real file, or make will skip it when a file of that name exists.
Who is the Makefiles poster for?
Makefiles belongs to the Computing section rather than to a school year, because computing is not something one grade owns. Anyone learning tools can pin it up — a beginner, a student mid-course, or someone revising years later.
When should you use the Makefiles poster?
Recipes must be indented with a tab. Not spaces. This is the oldest gotcha in software. A wall chart earns its place by being glanceable from where the work is happening, so Makefiles belongs on the wall where that computing work actually happens, within glancing distance, rather than filed away.
What other posters go with Makefiles?
Code Review, Debugging Method and Docker Basics sit alongside Makefiles in the Computing section. Printed together they make a wall rather than a single sheet, which is how a reference set actually gets used.Code ReviewDebugging MethodDocker Basics
Is the Makefiles poster free to download and print?
Yes. Makefiles downloads as a free PDF with no account, no email and no watermark, like everything else in the Computing section. Print as many copies as you like for a home, a classroom, a library or a tutoring group; reselling the file is the only thing the licence rules out.Read the licence
What size does the Makefiles poster print at?
Makefiles is a vector PDF laid out for US Letter, and prints on A4 with Fit to page — the same file, no separate download. Because every mark on it is drawn rather than photographed, it stays sharp enlarged to A3, A2 or A1 at a copy shop. Colour carries emphasis only, so a greyscale print of Makefiles loses nothing.Printing guide

Related posters

Charts that sit alongside Makefiles on the same wall.

Browse every Computing poster, or start from the full catalogue.