mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Features of interest: Allow setting target local variables (similar to gmake) In META_MODE .MAKE.META.CMP_FILTER can be used for filtering commands before comparion. contrib/bmake/mk/cc-wrap.mk is an example of using these See ChangeLog for the gory details.
14 lines
554 B
Makefile
14 lines
554 B
Makefile
# $NetBSD: dep-op-missing.mk,v 1.1 2021/12/14 00:02:57 rillig Exp $
|
|
#
|
|
# Test for a missing dependency operator, in a line with trailing whitespace.
|
|
|
|
# Before parse.c 1.578 from 2021-12-14, there was some unreachable error
|
|
# handling code in ParseDependencyOp. This test tried to reach it and failed.
|
|
# To reach that point, there would have to be trailing whitespace in the line,
|
|
# but that is removed in an early stage of parsing.
|
|
|
|
all: .PHONY
|
|
@printf 'target ' > dep-op-missing.tmp
|
|
@${MAKE} -r -f dep-op-missing.tmp || exit 0
|
|
@rm dep-op-missing.tmp
|