summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-02-25 12:20:55 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-02-25 12:20:55 +0100
commit87ffef6e32856495b8175553dcfbeb288c30e56a (patch)
treea6bf002b770f6e066575e8d375d5df4c71deac2f /Makefile
parentf5f01f3ff143edd87b7e36f1b3540cbc5d42c51f (diff)
downloadcqrlogo-87ffef6e32856495b8175553dcfbeb288c30e56a.tar.gz
cqrlogo-87ffef6e32856495b8175553dcfbeb288c30e56a.tar.zst
move SOVERSION to main Makefile, needed for install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f46bef1..ed5a186 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,13 @@ CQRLOGO_FCGI += LD_LIBRARY_PATH=lib/ ./cqrlogo.fcgi
# this is just a fallback in case you do not use git but downloaded
# a release tarball...
VERSION := 0.4.0
+# library abi version
+SOVERSION := 0
all: libcqrlogo cqrlogo.cgi cqrlogo.fcgi README.html cqrlogo.png
libcqrlogo: lib/libcqrlogo.c lib/libcqrlogo.h config.h version.h
- $(MAKE) -C lib
+ SOVERSION=$(SOVERSION) $(MAKE) -C lib
cqrlogo.cgi: libcqrlogo cqrlogo.c cqrlogo.h config.h version.h
$(CC) -lcqrlogo -Llib/ -Ilib/ $(LDFLAGS) -DHAVE_FCGI=0 -o cqrlogo.cgi cqrlogo.c