diff --git a/Makefile b/Makefile index 74609e96..dfc022f1 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/^\(.*\)$$/\"\1\"/' >> $@ +$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\\n\"/' >> $@ $(Q)echo ";" >> $@ endef