Update makefile to produce correct base64u files

This commit is contained in:
frekky 2015-12-16 22:51:59 +08:00
parent a17b990570
commit eb6d2fae77

View File

@ -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/"