diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -16,7 +16,7 @@ CFLAGS += -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS # compatibility is broken, even if the API is backward-compatible # Be sure to also update these in CMakeLists.txt! MAJOR=1 -MINOR=2 +MINOR=3 PATCH=0 OS := $(shell uname) @@ -40,7 +40,7 @@ includedir=$(prefix)/include all: libutf8proc.a libutf8proc.$(SHLIB_EXT) clean: - rm -f utf8proc.o libutf8proc.a libutf8proc.$(SHLIB_VERS_EXT) libutf8proc.$(SHLIB_EXT) test/normtest test/graphemetest test/printproperty test/charwidth + rm -f utf8proc.o libutf8proc.a libutf8proc.$(SHLIB_VERS_EXT) libutf8proc.$(SHLIB_EXT) test/normtest test/graphemetest test/printproperty test/charwidth test/valid test/iterate $(MAKE) -C bench clean $(MAKE) -C data clean @@ -107,8 +107,20 @@ test/printproperty: test/printproperty.c utf8proc.o utf8proc.h test/tests.h test/charwidth: test/charwidth.c utf8proc.o utf8proc.h test/tests.h $(CC) test/charwidth.c utf8proc.o -o $@ -check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/charwidth bench/bench.c bench/util.c bench/util.h utf8proc.o +test/valid: test/valid.c utf8proc.o utf8proc.h test/tests.h + $(cc) test/valid.c utf8proc.o -o $@ + +test/iterate: test/iterate.c utf8proc.o utf8proc.h test/tests.h + $(cc) test/iterate.c utf8proc.o -o $@ + +test/case: test/case.c utf8proc.o utf8proc.h test/tests.h + $(cc) test/case.c utf8proc.o -o $@ + +check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/case test/charwidth test/valid test/iterate bench/bench.c bench/util.c bench/util.h utf8proc.o $(MAKE) -C bench test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/charwidth + test/valid + test/iterate + test/case |