aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorexplosion-mental <explosion0mental@gmail.com>2022-04-26 20:43:27 -0500
committerGitHub <noreply@github.com>2022-04-27 01:43:27 +0000
commitf9662efb1f522c1b554f789659d261a97a1918f5 (patch)
tree80107d052d8aeb68c9f4c3a874ce889f6040e562 /Makefile
parent29c6b1456e8bb46fbee0e8ea962553cb9f1230a3 (diff)
merge autoreload_{inotify,nop}.c into autoreload.c (#263)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e33f0c9..5c08ed0 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ inc_fonts_1 = -I/usr/include/freetype2 -I$(PREFIX)/include/freetype2
CPPFLAGS = -D_XOPEN_SOURCE=700 \
-DHAVE_LIBGIF=$(HAVE_LIBGIF) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) \
-DHAVE_LIBWEBP=$(HAVE_LIBWEBP) -DHAVE_LIBFONTS=$(HAVE_LIBFONTS) \
- $(inc_fonts_$(HAVE_LIBFONTS))
+ -DHAVE_INOTIFY=$(HAVE_INOTIFY) $(inc_fonts_$(HAVE_LIBFONTS))
lib_fonts_0 =
lib_fonts_1 = -lXft -lfontconfig
@@ -42,14 +42,12 @@ lib_gif_0 =
lib_gif_1 = -lgif
lib_webp_0 =
lib_webp_1 = -lwebpdemux -lwebp
-autoreload_0 = nop
-autoreload_1 = inotify
NSXIV_LDLIBS = -lImlib2 -lX11 \
$(lib_exif_$(HAVE_LIBEXIF)) $(lib_gif_$(HAVE_LIBGIF)) \
$(lib_webp_$(HAVE_LIBWEBP)) $(lib_fonts_$(HAVE_LIBFONTS))
-OBJS = autoreload_$(autoreload_$(HAVE_INOTIFY)).o commands.o image.o main.o options.o \
+OBJS = autoreload.o commands.o image.o main.o options.o \
thumbs.o util.o window.o
.SUFFIXES: