summaryrefslogtreecommitdiffstats
path: root/config.mk
blob: a20e6e3f5e413555552c395b82b2760293f17047 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PREFIX    := /usr/local
MANPREFIX := $(PREFIX)/share/man

CC        ?= gcc
CFLAGS    += -std=c99 -Wall -pedantic
CPPFLAGS  += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700
LDFLAGS   += 
LIBS      := -lImlib2 -lX11 -lXft

# autoreload backend: inotify/nop
AUTORELOAD := inotify

# optional dependencies:
# giflib: gif animations
ifndef NO_GIFLIB
	CPPFLAGS += -DHAVE_GIFLIB
	LIBS     += -lgif
endif
# libexif: jpeg auto-orientation, exif thumbnails
ifndef NO_LIBEXIF
	CPPFLAGS += -DHAVE_LIBEXIF
	LIBS     += -lexif
endif