Browse Source

Add build options for optional dependencies

master
Vlad Glagolev 8 years ago
parent
commit
22436f747d
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      Makefile

+ 4
- 1
Makefile View File

@@ -11,12 +11,15 @@ LIBS := -lImlib2 -lX11 -lXft


# optional dependencies: # optional dependencies:
# giflib: gif animations # giflib: gif animations
ifeq ($(WITH_GIFLIB), 1)
CPPFLAGS += -DHAVE_GIFLIB CPPFLAGS += -DHAVE_GIFLIB
LIBS += -lgif LIBS += -lgif
endif
# libexif: jpeg auto-orientation, exif thumbnails # libexif: jpeg auto-orientation, exif thumbnails
ifeq ($(WITH_LIBEXIF), 1)
CPPFLAGS += -DHAVE_LIBEXIF CPPFLAGS += -DHAVE_LIBEXIF
LIBS += -lexif LIBS += -lexif
endif


.PHONY: clean install uninstall .PHONY: clean install uninstall




Loading…
Cancel
Save