cat doesn't exist on Windows. Solution for those who care that make file works onfor Linux and Windows as well:
cat := $(if $(filter $(OS),Windows_NT),type,cat) variable := $(shell $(cat) filename) Explanation: Seems like On Windows there is always OS environment variable defined to be equal to 'Windows_NT'. This way, for Windows typetype command is used, for non-Windows cat is used.