tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make suffix rule question



> gen/%_png.h: %.png
>         $(UTILS_SRC)/bin2c "$<" "$@"
> 
Something like
.for f in *.png
gen/${f}.h: ${f}
	$(UTILS_SRC)/bin2c "${f}" "${f}.h"
.endfor
(or maybe ${f:Q} in the rule)
depends on how many subdirs this rule is used in.


Home | Main Index | Thread Index | Old Index