C++ etc.
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)))))
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)