This is a silly question, but.... with GNU Make:
VAR = MixedCaseText LOWER_VAR = $(VAR,lc) default: @echo $(VAR) @echo $(LOWER_VAR) <
VAR = MixedCaseText LOWER_VAR = $(VAR,lc) default: @echo $(VAR) @echo $(LOWER_VAR)
I find this slightly cleaner...
$(shell tr '[:upper:]' '[:lower:]' <<< $(VAR))