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