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)
Relevant changes see ChangeLog for details: Add support for ${.SUFFIXES} as read-only variable. Fix memory leak in cond.c Punt on write errors - ENOSPC etc. Lots of code refactoring, rework to reduce memory allocations. More unit-tests.
18 lines
465 B
Makefile
18 lines
465 B
Makefile
# $NetBSD: deptgt-default.mk,v 1.3 2021/12/01 23:56:29 rillig Exp $
|
|
#
|
|
# Tests for the special target .DEFAULT in dependency declarations, which
|
|
# attaches its associated commands to all targets that don't specify any way
|
|
# to create them.
|
|
|
|
all: test-default not-a-target
|
|
|
|
test-default: .PHONY
|
|
|
|
has-commands: .PHONY
|
|
@echo 'Making ${.TARGET} from ${.IMPSRC}.'
|
|
|
|
.DEFAULT: dependency-is-ignored
|
|
@echo "Default command is making '${.TARGET}' from '${.IMPSRC}'."
|
|
|
|
all:
|