add utf8proc_unicode_version (#151)
This commit is contained in:
committed by
GitHub
parent
fd4d8a3454
commit
abf81603ba
3
Makefile
3
Makefile
@@ -5,6 +5,7 @@ AR?=ar
|
||||
CC?=gcc
|
||||
INSTALL=install
|
||||
FIND=find
|
||||
PERL=perl
|
||||
|
||||
# compiler settings
|
||||
CFLAGS ?= -O2
|
||||
@@ -154,7 +155,7 @@ test/custom: test/custom.c test/tests.o utf8proc.o utf8proc.h test/tests.h
|
||||
$(CC) $(UCFLAGS) $(LDFLAGS) test/custom.c test/tests.o utf8proc.o -o $@
|
||||
|
||||
test/misc: test/misc.c test/tests.o utf8proc.o utf8proc.h test/tests.h
|
||||
$(CC) $(UCFLAGS) $(LDFLAGS) test/misc.c test/tests.o utf8proc.o -o $@
|
||||
$(CC) $(UCFLAGS) $(LDFLAGS) -DUNICODE_VERSION='"'`$(PERL) -ne "/^UNICODE_VERSION=/ and print $$';" data/Makefile`'"' test/misc.c test/tests.o utf8proc.o -o $@
|
||||
|
||||
check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/case test/custom test/charwidth test/misc test/valid test/iterate bench/bench.c bench/util.c bench/util.h utf8proc.o
|
||||
$(MAKE) -C bench
|
||||
|
||||
Reference in New Issue
Block a user