Move DEPFLAGS from Makefile to config.mk

This commit is contained in:
Bert Münnich 2017-10-08 22:02:29 +02:00
parent 33b5dbfa82
commit e3b68efadd
2 changed files with 1 additions and 1 deletions

View file

@ -7,7 +7,6 @@ all: sxiv
include config.mk include config.mk
CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF)
DEPFLAGS := -MMD -MP
LDLIBS := -lImlib2 -lX11 -lXft LDLIBS := -lImlib2 -lX11 -lXft

View file

@ -4,6 +4,7 @@ MANPREFIX := $(PREFIX)/share/man
CC ?= gcc CC ?= gcc
CFLAGS += -std=c99 -Wall -pedantic CFLAGS += -std=c99 -Wall -pedantic
CPPFLAGS += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700 CPPFLAGS += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700
DEPFLAGS := -MMD -MP
LDFLAGS += LDFLAGS +=
# autoreload backend: inotify/nop # autoreload backend: inotify/nop