diff --git a/Makefile b/Makefile index a2c13a33..74609e96 100644 --- a/Makefile +++ b/Makefile @@ -1223,7 +1223,7 @@ define DO_REF_STR $(echo_cmd) "REF_STR $<" $(Q)rm -f $@ $(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@ -$(Q)cat $< | sed -e 's/^/\"/;s/$$/\\n\"/' | tr -d '\r' >> $@ +$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\"/' >> $@ $(Q)echo ";" >> $@ endef