diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-28 17:51:58 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-28 17:51:58 +0200 |
commit | 0a2e078b875a7f256b39f4be204bc5336bbff232 (patch) | |
tree | 0f8a6b1e79aa3cd7dd5d9cd8f039a338769e621b /glcdgraphics/Makefile | |
parent | 13f36d09c49624ffc1f8c9b5cc8a76b7272b4448 (diff) | |
download | graphlcd-base-0a2e078b875a7f256b39f4be204bc5336bbff232.tar.gz graphlcd-base-0a2e078b875a7f256b39f4be204bc5336bbff232.tar.bz2 |
configure imagemagick/graphicsmagick-support in Make.config
Diffstat (limited to 'glcdgraphics/Makefile')
-rw-r--r-- | glcdgraphics/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/glcdgraphics/Makefile b/glcdgraphics/Makefile index d301804..3e6cd1a 100644 --- a/glcdgraphics/Makefile +++ b/glcdgraphics/Makefile @@ -5,8 +5,12 @@ -include ../Make.config # External image lib to use: imagemagick, graphicsmagick, or none -# taken from text2skin -IMAGELIB = +IMAGELIB = +ifdef HAVE_IMAGEMAGICK + IMAGELIB = imagemagick +else ifdef HAVE_GRAPHICSMAGICK + IMAGELIB = graphicsmagick +endif CXXFLAGS += -fPIC |