diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-09 17:47:37 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-09 17:47:37 +0200 |
commit | 34209651d4570cf717be4f9d7b28b22b06c2ded5 (patch) | |
tree | 92a04070f359067164ed5d194e0edb7c47efa38f /Makefile | |
parent | ddf2ff6ae6617609056680c91676322c70690716 (diff) | |
download | cqrlogo-34209651d4570cf717be4f9d7b28b22b06c2ded5.tar.gz cqrlogo-34209651d4570cf717be4f9d7b28b22b06c2ded5.tar.zst |
replace gdk-pixbuf with plain libpng0.2.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -5,11 +5,13 @@ INSTALL := install CP := cp RM := rm CFLAGS += -O2 -Wall -Werror -CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \ +CFLAGS += $(shell pkg-config --cflags --libs libpng) \ $(shell pkg-config --cflags --libs libqrencode) +VERSION = $(shell git describe --tags --long) all: cqrlogo.c config.h - $(CC) $(CFLAGS) -o cqrlogo cqrlogo.c + $(CC) $(CFLAGS) -o cqrlogo cqrlogo.c \ + -DVERSION="\"$(VERSION)\"" config.h: $(CP) config.def.h config.h |