Tuesday, July 17, 2012
Print all variables in a Makefile
.PHONY: printvars
printvars:
@$(foreach V,$(sort $(.VARIABLES)),
$(if $(filter-out environment% default automatic,
$(origin $V)),$(warning $V=$($V) ($(value $V)))))
Friday, June 22, 2012
Sunday, April 29, 2012
Subscribe to:
Posts (Atom)