HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/share/source-highlight/makefile.lang
# Author: Maurizio Loreti, aka MLO or (HAM) I3NOO
# WWW:    http://www.pd.infn.it/~loreti/mlo.html
#
######################################################################
# Language definitions for Makefiles; intended for source-highlight
# (see http://www.gnu.org/software/src-highlite).
######################################################################

# Modified by Lorenzo Bettini, http://www.lorenzobettini.it

# Declared symbols; e.g.:
# SOURCE = foo.c
# ^^^^^^^^ will be highlighted as "type" (default: dark green)

type = '^[a-zA-Z0-9_-]+[[:space:]]*='

# Special statements; e.g.:
# .PHONY: clean
# ^^^^^^^ will be highlighted as "preproc" (default: dark blue)

preproc = '^\.[a-zA-Z0-9_-]+[[:space:]]*:'

# automake/autoconf variables
preproc = '@(.+)@'

# Dependencies; e.g.:
# foo.o foo.z: foo.c
# ^^^^^^^^^^^^ will be highlighted as "symbol" (default: dark red)

symbol = '^([[:word:].[:space:]-])+:'

# Rules; e.g.:
# %.o:%.c
# ^^^^^^^ will be highlighted as "string" (default: red)

string = '%[a-zA-Z0-9_.-]+:%[a-zA-Z0-9_.-]+'

# filenames
normal = '([[:word:]-]*)\.([[:word:]-]+)'

# The statements following dependencies are for /bin/sh; so:
include "sh.lang"