Rename libutf8proc -> libmojibake. Closes #5
This commit is contained in:
20
Makefile
20
Makefile
@@ -1,4 +1,4 @@
|
||||
# libutf8proc Makefile
|
||||
# libmojibake Makefile
|
||||
|
||||
|
||||
# settings
|
||||
@@ -11,23 +11,23 @@ cc = $(CC) $(cflags)
|
||||
|
||||
all: c-library
|
||||
|
||||
c-library: libutf8proc.a libutf8proc.so
|
||||
c-library: libmojibake.a libmojibake.so
|
||||
|
||||
clean:
|
||||
rm -f utf8proc.o libutf8proc.a libutf8proc.so
|
||||
rm -f utf8proc.o libmojibake.a libmojibake.so
|
||||
|
||||
# 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
|
||||
libmojibake.a: utf8proc.o
|
||||
rm -f libmojibake.a
|
||||
ar rs libmojibake.a utf8proc.o
|
||||
|
||||
libutf8proc.so: utf8proc.o
|
||||
$(cc) -shared -o libutf8proc.so utf8proc.o
|
||||
chmod a-x libutf8proc.so
|
||||
libmojibake.so: utf8proc.o
|
||||
$(cc) -shared -o libmojibake.so utf8proc.o
|
||||
chmod a-x libmojibake.so
|
||||
|
||||
libutf8proc.dylib: utf8proc.o
|
||||
libmojibake.dylib: utf8proc.o
|
||||
$(cc) -dynamiclib -o $@ $^ -install_name $(libdir)/$@
|
||||
|
||||
Reference in New Issue
Block a user