diff --git a/Makefile b/Makefile index 464ad3c4..de2b3526 100644 --- a/Makefile +++ b/Makefile @@ -1183,7 +1183,7 @@ define DO_REF_STR $(echo_cmd) "REF_STR $<" $(Q)rm -f $@ $(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@ -$(Q)cat $< | sed 's/^/\"/;s/$$/\\n\"/' >> $@ +$(Q)cat $< | sed -e 's/^/\"/;s/$$/\\n\"/' -e 's/\r//g' >> $@ $(Q)echo ";" >> $@ endef