diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-09 20:32:23 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-09 20:32:23 +0000 |
commit | ef04b55160759b22db67f14c703a4343c4741e8b (patch) | |
tree | fff26b0d56a0506b2ef0ebb84ffa50f2d655ebe6 /Makefile | |
parent | 578ba2d81b2fa5f839314190f42bb9116069db7a (diff) |
switch to Bjoern Hoehrmann UTF-8 decoder
It's correct, while my hacked valid_multibyte_utf8 would allow things
that aren't technically UTF8.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,11 +6,11 @@ LDFLAGS = -ltls all: gmid TAGS README.md -gmid: gmid.o uri.o - ${CC} gmid.o uri.o -o gmid ${LDFLAGS} +gmid: gmid.o uri.o utf8.o + ${CC} gmid.o uri.o utf8.o -o gmid ${LDFLAGS} -TAGS: gmid.c uri.c - -etags gmid.c uri.c || true +TAGS: gmid.c uri.c utf8.c + -etags gmid.c uri.c utf8.c || true README.md: gmid.1 mandoc -Tmarkdown gmid.1 | sed -e '1d' -e '$$d' > README.md @@ -18,8 +18,8 @@ README.md: gmid.1 clean: rm -f *.o gmid -uri_test: uri_test.o uri.o - ${CC} uri_test.o uri.o -o uri_test ${LDFLAGS} +uri_test: uri_test.o uri.o utf8.o + ${CC} uri_test.o uri.o utf8.o -o uri_test ${LDFLAGS} test: uri_test ./uri_test |