From eb6d2fae77afebe7bccbf1d928ab0d3910cd4a8b Mon Sep 17 00:00:00 2001 From: frekky Date: Wed, 16 Dec 2015 22:51:59 +0800 Subject: [PATCH] Update makefile to produce correct base64u files --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 14465c8..68dd326 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,11 +44,11 @@ base64u.o client.o iodined.o: base64u.h base64u.c: base64.c @echo Making $@ @echo '/* No use in editing, produced by Makefile! */' > $@ - @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.c >> $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\|[Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.c >> $@ base64u.h: base64.h @echo Making $@ @echo '/* No use in editing, produced by Makefile! */' > $@ - @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.h >> $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\|[Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.h >> $@ clean: @echo "Cleaning src/"