diff --git a/Makefile b/Makefile index 988de27..0c65ba6 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,13 @@ CFLAGS = $(INIT_CFLAGS) -I. -ffast-math -fPIC TARDIR = libgdither-$(VERSION) -all: libgdither.so +all: libgdither.so.1.0 gdither.o: gdither.c gdither.h gdither_types_internal.h $(CC) $(CFLAGS) -c gdither.c -libgdither.so: gdither.o - $(CC) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 +libgdither.so.1.0: gdither.o + $(CC) $(LDFLAGS) -shared gdither.o -Wl,-soname,libgdither.so.1 -o libgdither.so.1.0 libgdither.pc: libgdither.pc.in Makefile sed -e 's|@VERSION@|$(VERSION)|' -e 's|@PREFIX@|$(PREFIX)|' \