Ignore:
Timestamp:
Jun 11, 2012, 11:21:39 PM (9 years ago)
Author:
sam
Message:

build: remove \r from shader files before compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r1449 r1453  
    5858        echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp
    5959        echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp
    60         $(SED) 's/"/\\"/g' $^ | $(SED) 's/.*/"&\\n"/' >> $@.tmp
     60        $(SED) 's/"/\\"/g' $^ | $(SED) 's/\([^\r]*\).*/"\1\\n"/' >> $@.tmp
    6161        echo ";" >> $@.tmp
    6262        mv $@.tmp $@
Note: See TracChangeset for help on using the changeset viewer.