Krolyxon
Commit ad9955a

Branches

Refs →

nsxivconfig.mk

24 lines · 519 B · Makefile

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