1zmk.AllClean(5) Programmer's Manual zmk.AllClean(5)
2
4 AllClean — template for files that can built and cleaned
5
7 include z.mk
8
9 $(eval $(call ZMK.Expand,AllClean,instanceName))
10
12 The AllClean template once expanded with a target instance name makes all
13 depend on $(instanceName), and makes clean remove $(instanceName). It
14 can be used to avoid duplicating the same two rules across many buildable
15 entities. It is used internally by other templates.
16
17 Actual rules for building $(instanceName) need to be provided separately.
18
20 This module provides the following targets.
21
22 all
23 This phony target depends on $(instanceName).
24
25 clean
26 This phony target removes $(instanceName).
27
29 This module does not provide any variables.
30
32 The AllClean template first appeared in zmk 0.3
33
35 Zygmunt Krynicki <me@zygoon.pl>
36
37zmk 0.5.1 May 3, 2020 zmk 0.5.1