diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-27 18:36:26 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-27 18:36:26 +0100 |
commit | 037b945a9f253b97faffc02d8475574e75203516 (patch) | |
tree | b008e7d77e9daaeaaa8e7854728d715df5aafb77 /redshift/config.mk | |
parent | todo list housekeeping (diff) | |
download | redshift-ng-037b945a9f253b97faffc02d8475574e75203516.tar.gz redshift-ng-037b945a9f253b97faffc02d8475574e75203516.tar.bz2 redshift-ng-037b945a9f253b97faffc02d8475574e75203516.tar.xz |
one dir per subproject
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'redshift/config.mk')
-rw-r--r-- | redshift/config.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/redshift/config.mk b/redshift/config.mk new file mode 100644 index 0000000..00a032c --- /dev/null +++ b/redshift/config.mk @@ -0,0 +1,20 @@ +PREFIX = /usr +MANPREFIX = $(PREFIX)/share/man +LOCALEDIR = $(PREFIX)/share/locale + +PACKAGE = redshift-ng + +CC = c99 + +PKGCONFIG = pkg-config +PKGCONFIG_CFLAGS = $(PKGCONFIG) --cflags +PKGCONFIG_LDFLAGS = $(PKGCONFIG) --libs + +GEOCLUE_LIBS = glib-2.0 gio-2.0 + +LIBS_PKGCONFIG = $(GEOCLUE_LIBS) libgamma + +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE\ + -DENABLE_GEOCLUE2 -DENABLE_COOPGAMMA +CFLAGS = $$($(PKGCONFIG_CFLAGS) $(LIBS_PKGCONFIG)) +LDFLAGS = $$($(PKGCONFIG_LDFLAGS) $(LIBS_PKGCONFIG)) -lm -lcoopgamma -lred -lgeome |