Ai
2 Star 0 Fork 0

mirrors_android_source/utf8proc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lucas Eckels 提交于 2012-08-07 06:22 +08:00 . Add utf8proc source.
# libutf8proc Makefile
# settings
cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
cc = gcc $(cflags)
# meta targets
c-library: libutf8proc.a libutf8proc.so
ruby-library: ruby/utf8proc_native.so
pgsql-library: pgsql/utf8proc_pgsql.so
all: c-library ruby-library pgsql-library
clean::
rm -f utf8proc.o libutf8proc.a libutf8proc.so
cd ruby/ && test -e Makefile && (make clean && rm -f Makefile) || true
cd pgsql/ && make clean
# real targets
utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
$(cc) -c -o utf8proc.o utf8proc.c
libutf8proc.a: utf8proc.o
rm -f libutf8proc.a
ar rs libutf8proc.a utf8proc.o
libutf8proc.so: utf8proc.o
$(cc) -shared -o libutf8proc.so utf8proc.o
chmod a-x libutf8proc.so
ruby/Makefile: ruby/extconf.rb
cd ruby && ruby extconf.rb
ruby/utf8proc_native.so: utf8proc.h utf8proc.c utf8proc_data.c \
ruby/utf8proc_native.c ruby/Makefile
cd ruby && make
pgsql/utf8proc_pgsql.so: utf8proc.h utf8proc.c utf8proc_data.c \
pgsql/utf8proc_pgsql.c
cd pgsql && make
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_android_source/utf8proc.git
git@gitee.com:mirrors_android_source/utf8proc.git
mirrors_android_source
utf8proc
utf8proc
main

搜索帮助