xref: /freebsd/contrib/file/magic/Magdir/make (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1#------------------------------------------------------------------------------
2# $File: make,v 1.5 2022/03/12 15:09:47 christos Exp $
3# make:  file(1) magic for makefiles
4#
5# URL: https://en.wikipedia.org/wiki/Make_(software)
60	regex/100l	\^(CFLAGS|VPATH|LDFLAGS|all:|\\.PRECIOUS)	makefile script text
7!:mime	text/x-makefile
8!:strength -15
9# Update: Joerg Jenderek
10# Reference: https://www.freebsd.org/cgi/man.cgi?make(1)
11# exclude grub-core\lib\libgcrypt\mpi\Makefile.am with "#BEGIN_ASM_LIST"
12# by additional escaping point character
13# exclude MS Windows help file CoNtenT with ":include FOOBAR.CNT"
14# and NSIS script with "!include" by additional escaping point character
150	regex/100l	\^\\.(BEGIN|endif|include)	BSD makefile script text
16!:mime	text/x-makefile
17!:ext	/mk
18!:strength -10
190	regex/100l	\^SUBDIRS[[:space:]]+=	automake makefile script text
20!:mime	text/x-makefile
21!:strength -15
22