opnsense-src/usr.bin/bmake/tests/variables/modifier_M/Makefile.test
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

17 lines
385 B
Makefile

#
# Test the M modifier.
#
FILES = \
main.c globals.h \
util.c util.h \
map.c map.h \
parser.y lexer.l \
cmdman.1 format.5
test1:
@echo "all files: ${FILES}"
@echo "cfiles: ${FILES:M*.c}"
@echo "hfiles: ${FILES:M*.h}"
@echo "grammar and lexer: ${FILES:M*.[ly]}"
@echo "man page: ${FILES:M*.[1-9]}"
@echo "utility files: ${FILES:Mutil.?}"
@echo "m files: ${FILES:Mm*}"