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.
19 lines
556 B
Makefile
19 lines
556 B
Makefile
# $NetBSD: dep.mk,v 1.3 2021/12/13 23:38:54 rillig Exp $
|
|
#
|
|
# Tests for dependency declarations, such as "target: sources".
|
|
|
|
.MAIN: all
|
|
|
|
# As soon as a target is defined using one of the dependency operators, it is
|
|
# restricted to this dependency operator and cannot use the others anymore.
|
|
only-colon:
|
|
# expect+1: Inconsistent operator for only-colon
|
|
only-colon!
|
|
# expect+1: Inconsistent operator for only-colon
|
|
only-colon::
|
|
# Ensure that the target still has the original operator. If it hadn't, there
|
|
# would be another error message.
|
|
only-colon:
|
|
|
|
all:
|