aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.mk')
-rw-r--r--src/config.mk4
1 files changed, 3 insertions, 1 deletions
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