Small fix

This commit is contained in:
Richard Allen 2020-09-08 10:24:24 +00:00
parent 396ccad328
commit db177ba685

View file

@ -1224,7 +1224,7 @@ define DO_REF_STR
$(echo_cmd) "REF_STR $<" $(echo_cmd) "REF_STR $<"
$(Q)rm -f $@ $(Q)rm -f $@
$(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@ $(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@
$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\"/' >> $@ $(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\\n\"/' >> $@
$(Q)echo ";" >> $@ $(Q)echo ";" >> $@
endef endef