Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

AllClean — template for files that can built and cleaned

Authors

Zygmunt Krynicki <me@zygoon.pl> zmk 0.5.1 May 3, 2020 zmk.AllClean(5)

Description

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

History

The AllClean template first appeared in zmk 0.3

Name

AllClean — template for files that can built and cleaned

Synopsis

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

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.

See Also