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)
If Python is installed this runs even on Windows:
$(shell python -c "print('$(VAR)'.lower())")