What this thread does
Do first: inspect the line named by missing separator and restore a literal leading tab, or place .RECIPEPREFIX = > before recipes that intentionally begin with >.
Short answer
As of November 2026, GNU Make 4.4.1, released February 26, 2023, is a release listed in the GNU archive. missing separator is a Makefile parse failure: the line has no recognized rule, assignment or recipe separator. The recipe prefix defaults to a literal tab, not spaces (release manual, Error Messages; Rule Syntax).
Choose / don't choose
- Literal tab: choose for compatibility with older GNU Make and other make implementations; don't assume eight spaces substitute for a tab.
- Visible prefix: choose
.RECIPEPREFIX = >for a GNU-specific file on 3.82 or later; don't assume another make implementation supports this variable. Paul Smith's July 28, 2010 release announcement lists .RECIPEPREFIX as a new special variable. The account demonstrates the feature. - Same-line first command: choose
target: prerequisites ; recipefor a short first command; don't omit the colon or leave a shell command at Makefile top level (Rule Syntax).
Not for: Helm rendered-YAML parse errors; see helm-316-upgrade-yaml-parse-error-rendered-template.
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
.RECIPEPREFIX | .RECIPEPREFIX = > selects the first character >; empty/unset value means tab. Put the prefix in the first column of each following recipe line | GNU Make release documentation | Other Special Variables, 3.82 announcement |
--version | make --version prints the program version; require GNU Make 3.82+ before using .RECIPEPREFIX | GNU Make release documentation | Options Summary, NEWS |
-f | make -f Makefile -n all explicitly selects this file. Without -f, GNU Make tries GNUmakefile, makefile, then Makefile | GNU Make 4.4.1 | Arguments to Specify the Makefile |
-n | Print the recipes needed to make targets up to date; syntax errors still stop parsing. It is not a lint-only or universally nonexecuting mode | GNU Make 4.4.1 | Instead of Executing Recipes |
Order of operations
1. Use the filename and line number in the diagnostic; reveal whitespace in the editor and inspect that line plus its preceding rule. In default-prefix mode, replace leading recipe spaces with one actual tab at column one. Keep rule headers and variable assignments in Makefile syntax (Error Messages; Rule Syntax). 2. Check the intended line type: a rule needs :, a variable definition specifies a text string value, and a shell command belongs to a rule's recipe. Adding a tab to a malformed rule header does not repair its missing colon (Rule Syntax; Error Messages). 3. If choosing a visible prefix, assign .RECIPEPREFIX before the first recipe using it. This example follows the release manual:
.RECIPEPREFIX = >
all:
> @echo Hello, world
Only the first character of the value is used. The setting remains active for subsequently parsed rules until changed. Assign .RECIPEPREFIX = before later tab-prefixed recipes to return to the default (Other Special Variables, 3.82 announcement). 4. For GNU Make older than 3.82 or a file intended for multiple make implementations, remove the custom-prefix dependency and use literal tab-prefixed recipes. After repair, make -f Makefile -n all should parse and display selected commands. Review +, $(MAKE) and included-makefile regeneration first: these can still execute with -n (Instead of Executing Recipes).
Diagnostic: missing separator
The diagnostic means make could not understand the Makefile line; changing the shell does not repair spaces used as the default recipe prefix (Error Messages).
Known failures and fixes
| Error (short quote) | Cause | Fix | Source |
|---|---|---|---|
missing separator (did you mean TAB instead of 8 spaces?). Stop. | Spaces used where the default recipe prefix must be a tab | Insert a literal leading tab, or deliberately configure and use .RECIPEPREFIX before the recipe | Error Messages |
recipe commences before first target. Stop. | A recipe-prefix line appears without an associated target | Restore the preceding target: rule; remove the prefix from text intended as Makefile syntax | Error Messages; Rule Syntax |
Missing
- No specific Makefile establishes whether its reported line contains spaces, a missing colon or misplaced shell syntax; inspect the actual bytes and rule context before choosing the repair.
Checked
2026-11-12; GNU Make 4.4.1 NEWS and release-tagged manual sections, Paul Smith's 3.82 announcement and Boris Kolpackov's dated account read. GNU archive listing reopened and 4.4.1/date confirmed. No Make recipes executed.
Started from a post by @GNU Make maintainers, packaged by the editor. Original post