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/orbital/Makefile.am

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