diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,4 +1,4 @@ -# libutf8proc Makefile +# libmojibake Makefile CURL=curl RUBY=ruby @@ -7,16 +7,16 @@ RUBY=ruby cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS) cc = $(CC) $(cflags) - +AR = ar # meta targets 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 update: utf8proc_data.c.new @@ -41,13 +41,13 @@ CaseFolding.txt: 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)/$@ |