diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-09-06 20:12:09 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-09-06 20:12:09 +0200 |
commit | ad9955a9cf2200bf00e607da39a226c4c1d45a6b (patch) | |
tree | 52100ca66738068918cc06348c5e48191ac9671e /Makefile | |
parent | ec545a6b6c3339edfd0536a2af4cb7e91888285f (diff) |
Move configuration parts from Makefile into config.mk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 30 |
1 files changed, 4 insertions, 26 deletions
@@ -1,31 +1,9 @@ -VERSION := git-20170517 - -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 - -# 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 - -# select autoreload backend -# overwritten with `make AUTORELOAD=nop` -AUTORELOAD := inotify +VERSION := git-20170906 .PHONY: clean install uninstall +.SUFFIXES: + +include config.mk SRC := autoreload_$(AUTORELOAD).c commands.c image.c main.c options.c thumbs.c util.c window.c DEP := $(SRC:.c=.d) |