diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | lib/Makefile | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -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 diff --git a/lib/Makefile b/lib/Makefile index 47f4db7..d6a33af 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -8,9 +8,6 @@ CFLAGS += $(shell pkg-config --cflags --libs libpng) CFLAGS += $(shell pkg-config --cflags --libs zlib) CFLAGS += $(shell pkg-config --cflags --libs libqrencode) -# library abi version -SOVERSION := 0 - all: libcqrlogo libcqrlogo: libcqrlogo.c libcqrlogo.h ../config.h ../version.h |