From e3b68efadd6e6287f6478b16ed95eed0b1cd4bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sun, 8 Oct 2017 22:02:29 +0200 Subject: [PATCH] Move DEPFLAGS from Makefile to config.mk --- Makefile | 1 - config.mk | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b905bc..523df3a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ all: sxiv include config.mk CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) -DEPFLAGS := -MMD -MP LDLIBS := -lImlib2 -lX11 -lXft diff --git a/config.mk b/config.mk index cf2f946..b083388 100644 --- a/config.mk +++ b/config.mk @@ -4,6 +4,7 @@ MANPREFIX := $(PREFIX)/share/man CC ?= gcc CFLAGS += -std=c99 -Wall -pedantic CPPFLAGS += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700 +DEPFLAGS := -MMD -MP LDFLAGS += # autoreload backend: inotify/nop