Fix osx compile, maybe also OpenBSD

This commit is contained in:
Erik Ekman 2009-12-29 20:25:33 +00:00
parent 6ce502ffa4
commit 158a365880

View file

@ -34,11 +34,11 @@ base64u.o client.o iodined.o: base64u.h
base64u.c: base64.c base64u.c: base64.c
@echo Making $@ @echo Making $@
@echo '/* No use in editing, produced by Makefile! */' > $@ @echo '/* No use in editing, produced by Makefile! */' > $@
@sed -e 's/\(base64\)/\1u/ig ; s/0123456789+/0123456789_/' < $< >> $@ @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.c >> $@
base64u.h: base64.h base64u.h: base64.h
@echo Making $@ @echo Making $@
@echo '/* No use in editing, produced by Makefile! */' > $@ @echo '/* No use in editing, produced by Makefile! */' > $@
@sed -e 's/\(base64\)/\1u/ig ; s/0123456789+/0123456789_/' < $< >> $@ @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.h >> $@
clean: clean:
@echo "Cleaning src/" @echo "Cleaning src/"