summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-02-25 15:40:43 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-02-25 15:40:43 +0100
commit19f14357a44fff9f6b1e7faf9ca368a33a8b0a64 (patch)
treeb90748823da34be8c07c8a033ddc2808284bdbfa /lib/Makefile
parentb92fb11e9f5111706eea19f0eebff2b7fd1d9f68 (diff)
downloadcqrlogo-19f14357a44fff9f6b1e7faf9ca368a33a8b0a64.tar.gz
cqrlogo-19f14357a44fff9f6b1e7faf9ca368a33a8b0a64.tar.zst
fix dependencies in Makefiles
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index d6a33af..b4bf444 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -8,9 +8,9 @@ CFLAGS += $(shell pkg-config --cflags --libs libpng)
CFLAGS += $(shell pkg-config --cflags --libs zlib)
CFLAGS += $(shell pkg-config --cflags --libs libqrencode)
-all: libcqrlogo
+all: libcqrlogo.so
-libcqrlogo: libcqrlogo.c libcqrlogo.h ../config.h ../version.h
+libcqrlogo.so: libcqrlogo.c libcqrlogo.h ../config.h ../version.h
$(CC) $(CFLAGS) $(LDFLAGS) -shared -fPIC -Wl,-soname,libcqrlogo.so.$(SOVERSION) -o libcqrlogo.so.$(SOVERSION) libcqrlogo.c
$(LN) -sf libcqrlogo.so.$(SOVERSION) libcqrlogo.so