aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)