DOKK / manpages / debian 12 / zmk-doc / zmk.AllClean.5.en
zmk.AllClean(5) File Formats Manual (prm) zmk.AllClean(5)

AllCleantemplate for files that can built and cleaned

include z.mk

$(eval $(call ZMK.Expand,AllClean,instanceName))

The AllClean template once with a target 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.

This module provides the following targets.

This phony target depends on $(instanceName).

This phony target removes $(instanceName).

This module does not provide any variables.

The AllClean template first appeared in zmk 0.3

Zygmunt Krynicki <me@zygoon.pl>

May 3, 2020 zmk 0.5.1