diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-11 11:25:02 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-11 11:25:02 +0100 |
commit | 6d2d5307a6b358f3528f53cc6a8c9b2acd50f397 (patch) | |
tree | 72bbada59c7c2188e7bdfbe7e7b372097cc9ef38 /Makefile.in | |
parent | soon, convert will not be used (diff) | |
download | scrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.gz scrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.bz2 scrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.xz |
use libpng, ... now we just have to make it faster
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 939647d..4f812f4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,9 +56,12 @@ _VERSION = 2.0 _C_STD = c99 _PEDANTIC = yes _BIN = scrotty -_OBJ_scrotty = scrotty kern-linux info pattern +_OBJ_scrotty = scrotty kern-linux info pattern png _HEADER_DIRLEVELS = 1 _CPPFLAGS = -D'PACKAGE="$(PKGNAME)"' -D'PROGRAM_VERSION="$(_VERSION)"' +_CPPFLAGS += $(shell pkg-config --cflags libpng) +# -I is a CPPFLAG, not a CFLAG +_LDFLAGS += $(shell pkg-config --libs libpng) # Used by mk/i18n.mk _SRC = $(foreach B,$(_BIN),$(foreach F,$(_OBJ_$(B)),$(F).c)) @@ -85,7 +88,7 @@ ___EVERYTHING_INFO = scrotty titlepage-data content hardcopy-copying \ appx/fdl appx/free-software-needs-free-documentation appx/gpl \ chap/invoking chap/overview chap/strftime \ reusable/macros reusable/paper reusable/titlepage -___EVERYTHING_H = common kern info pattern pnm +___EVERYTHING_H = common kern info pattern pnm png _EVERYTHING = $(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo) \ $(foreach F,$(___EVERYTHING_H),src/$(F).h) \ $(__EVERYTHING_ALL_COMMON) DEPENDENCIES INSTALL NEWS $(__todo) doc/concept |