﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
42	kmk: implement secondary target expansion	bird	bird	"GNU make sports a feature for secondary expansion of prerequisites, it will be extremely handy for kBuild to have a similar feature for targets (aka goals and files) as well. The kBuild use case is {{{$(SomeTarget_PATH)/generated-file.h: prereq; $(APPEND) $@ whatever }}}.

Modeling it after the secondary prerequisite expansion, the change consists of adding a new special variable {{{.SECONDARYTARGETEXPANSION}}} that is used to enable the feature. Detect targets needing secondary expansion in {{{enter_file()}}} when the string is in the cache. And finally do the expansion at the top of {{{snap_deps()}}}."	enhancement	closed	major	0.1.4	kmk	0.1.3	fixed	.SECONDARYTARGETEXPANSION	
