zmk.AllClean(5)

zmk.AllClean5

Template for files that can built and cleaned

Usage

include z.mk
$(eval $(call ZMK.Expand,AllClean,instanceName))

Overview

The AllClean template once expanded with a target instance name makes all depend on $(instanceName), and makes clean remove $(instanceName). It can be used to avoid duplicating the same two rules across many buildable entities. It is used internally by other templates.

Actual rules for building $(instanceName) need to be provided separately.

Targets

This module provides the following targets.

all

This phony target depends on $(instanceName).

clean

This phony target removes $(instanceName).

Variables

This module does not provide any variables.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

History

The AllClean template first appeared in zmk 0.3

Authors

Zygmunt Krynicki ⟨[email protected]⟩

From zmk-doc 0.5.1-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.