5959ifneq ($(OS ) ,Darwin)
6060 rm -f libutf8proc.so.$(MAJOR)
6161endif
62- rm -f test/tests.o test/normtest test/graphemetest test/printproperty test/charwidth test/valid test/iterate test/case test/custom test/misc test/iscase
62+ rm -f test/tests.o test/normtest test/graphemetest test/printproperty test/charwidth test/valid test/iterate test/case test/custom test/misc test/iscase test/maxdecomposition
6363 rm -rf MANIFEST.new tmp
6464 $(MAKE) -C bench clean
6565 $(MAKE) -C data clean
@@ -171,6 +171,9 @@ test/custom: test/custom.c test/tests.o utf8proc.o utf8proc.h test/tests.h
171171test/misc : test/misc.c test/tests.o utf8proc.o utf8proc.h test/tests.h
172172 $(CC ) $(UCFLAGS ) $(LDFLAGS ) -DUNICODE_VERSION=' "' ` $( PERL) -ne " /^UNICODE_VERSION=/ and print $$ ';" data/Makefile` ' "' test/misc.c test/tests.o utf8proc.o -o $@
173173
174+ test/maxdecomposition : test/maxdecomposition.c test/tests.o utf8proc.o utf8proc.h test/tests.h
175+ $(CC ) $(UCFLAGS ) $(LDFLAGS ) -DUNICODE_VERSION=' "' ` $( PERL) -ne " /^UNICODE_VERSION=/ and print $$ ';" data/Makefile` ' "' test/maxdecomposition.c test/tests.o utf8proc.o -o $@
176+
174177# make release tarball from master branch
175178dist :
176179 git archive master --prefix=utf8proc-$(VERSION ) / -o utf8proc-$(VERSION ) .tar.gz
@@ -186,7 +189,7 @@ distcheck: dist
186189 make -C utf8proc-$(VERSION ) check
187190 rm -rf utf8proc-$(VERSION )
188191
189- check : test/normtest data/NormalizationTest.txt data/Lowercase.txt data/Uppercase.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/case test/iscase test/custom test/charwidth test/misc test/valid test/iterate bench/bench.c bench/util.c bench/util.h utf8proc.o
192+ check : test/normtest data/NormalizationTest.txt data/Lowercase.txt data/Uppercase.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/case test/iscase test/custom test/charwidth test/misc test/maxdecomposition test/ valid test/iterate bench/bench.c bench/util.c bench/util.h utf8proc.o
190193 $(MAKE ) -C bench
191194 test/normtest data/NormalizationTest.txt
192195 test/graphemetest data/GraphemeBreakTest.txt
@@ -197,3 +200,4 @@ check: test/normtest data/NormalizationTest.txt data/Lowercase.txt data/Uppercas
197200 test/case
198201 test/iscase data/Lowercase.txt data/Uppercase.txt
199202 test/custom
203+ test/maxdecomposition
0 commit comments