Skip to content

Releases: MT-Syntax/makefile

v1.0.0

07 May 23:16

Choose a tag to compare

🎉 Initial Release

This is the first stable release of the Makefile syntax highlighting for MT Manager.

✨ Features

  • Targets, prerequisites, and pattern rules (including % wildcards)
  • Variable definitions (varDef) and references (varRef) with distinct colors
  • All assignment operators: =, :=, ::=, +=, ?=, !=
  • Automatic variables ($@, $<, $^, $*, $+, $?, $|, $%) and their D/F variants
  • Built‑in functions ($(subst ...), $(shell ...), $(wildcard ...), $(intcmp ...), $(let ...), and many more)
  • Substitution references ($(VAR:old=new))
  • All GNU Make directives: define/endef, conditionals (ifeq, ifneq, ifdef, ifndef, else, endif), include/-include/sinclude, export/unexport, override, vpath, undefine, private
  • Special built‑in targets (.PHONY, .ONESHELL, .WAIT, etc.)
  • Recipe prefix flags (@, -, +)
  • Shell logical operators (&&, ||)
  • Shell variables ($$HOME, $$(VAR)) inside recipes and strings
  • Line continuation (\ at end of line)
  • Comment highlighting with TODO/FIXME markers
  • Numbers (decimal, hex, floating‑point, scientific notation)
  • Escaped characters in strings
  • Carefully hand‑picked colors for both light and dark themes

📦 Installation

  1. Download the latest release archive (makefile-v1.0.0.zip or makefile-v1.0.0.tar.gz) below.
  2. Extract the archive using a file manager (e.g., MT Manager, ZArchiver).
  3. Open the extracted makefile.mtsx file with MT Manager.
  4. Tap the Install button when prompted.
  5. Open any Makefile, makefile, GNUmakefile, .mk, or .mak file to see the syntax highlighting applied.
    Note: For files without an extension (e.g., Makefile), you may need to manually select the syntax via the editor menu (three dots > Syntax > Makefile).

📝 Notes

  • This is an unofficial community project and is not affiliated with MT Manager.
  • For issues or suggestions, please open a thread on the Issues page.