Syntax Highlighting with nano – nanorc for Makefile

syntax "makefile" "^Makefile\.?"
color red "[:=]"
color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$\{.*}"
color brightblue "\w+:"
color green "#.*$"

Leave a Reply

Your email address will not be published.