A Simple X Image Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
519 B

  1. PREFIX := /usr/local
  2. MANPREFIX := $(PREFIX)/share/man
  3. CC ?= gcc
  4. CFLAGS += -std=c99 -Wall -pedantic
  5. CPPFLAGS += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700
  6. LDFLAGS +=
  7. LIBS := -lImlib2 -lX11 -lXft
  8. # autoreload backend: inotify/nop
  9. AUTORELOAD := inotify
  10. # optional dependencies:
  11. # giflib: gif animations
  12. ifndef NO_GIFLIB
  13. CPPFLAGS += -DHAVE_GIFLIB
  14. LIBS += -lgif
  15. endif
  16. # libexif: jpeg auto-orientation, exif thumbnails
  17. ifndef NO_LIBEXIF
  18. CPPFLAGS += -DHAVE_LIBEXIF
  19. LIBS += -lexif
  20. endif