summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-05-17 20:22:23 +0200
committerBert Münnich <ber.t@posteo.de>2017-05-17 20:22:23 +0200
commitcaec32d2578db9973e0ed3d87fbb9974e0b03f04 (patch)
tree9c8107929e11d0726fc17f07966ac85eccece677 /Makefile
parent1fb3ec576ca4de2056a914b8bc3fd5ba8e99429e (diff)
parenta20173a42df64515c0a5d1c5fba0c056a633a441 (diff)
downloadnsxiv-caec32d2578db9973e0ed3d87fbb9974e0b03f04.tar.zst
Merge branch 'autoreload'
Pull request #278. Fixes issue #29 and issue #199.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f375fa3..8b3f4b5 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,13 @@ ifndef NO_LIBEXIF
LIBS += -lexif
endif
+# select autoreload backend
+# overwritten with `make AUTORELOAD=nop`
+AUTORELOAD := inotify
+
.PHONY: clean install uninstall
-SRC := commands.c image.c main.c options.c thumbs.c util.c window.c
+SRC := autoreload_$(AUTORELOAD).c commands.c image.c main.c options.c thumbs.c util.c window.c
DEP := $(SRC:.c=.d)
OBJ := $(SRC:.c=.o)