summaryrefslogtreecommitdiff
path: root/glcdgraphics/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'glcdgraphics/Makefile')
-rw-r--r--glcdgraphics/Makefile8
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