From b42c9662303d1a33ebe038d1895c08945cdbd40f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Mar 2025 19:26:58 +0100 Subject: Cleanup and style update (avoid typedef) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/config.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/config.mk') diff --git a/src/config.mk b/src/config.mk index 6e1e732..a473366 100644 --- a/src/config.mk +++ b/src/config.mk @@ -1,6 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +PACKAGE = redshift-ng + CC = c99 PKGCONFIG = pkg-config @@ -16,6 +18,6 @@ LIBS_PKGCONFIG = $(DRM_LIBS) $(GEOCLUE_LIBS) $(RANDR_LIBS) $(VIDMODE_LIBS) CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE\ -DENABLE_DRM -DENABLE_GEOCLUE2 -DENABLE_RANDR -DENABLE_VIDMODE\ - -DENABLE_COOPGAMMA + -DENABLE_COOPGAMMA -D'PACKAGE="$(PACKAGE)"' CFLAGS = $$($(PKGCONFIG_CFLAGS) $(LIBS_PKGCONFIG)) LDFLAGS = $$($(PKGCONFIG_LDFLAGS) $(LIBS_PKGCONFIG)) -lm -lcoopgamma -lred -- cgit v1.2.3-70-g09d2