ctemp

Set color temperature
git clone git://git.akobets.xyz/ctemp
Log | Files | Refs | README | LICENSE

commit f9c44a66650f1d7809bfd828d7d8b1811a30c57c
parent c8b3f3a89eac7b15e76d68541d4c9cb5f7a94680
Author: Artem Kobets <artem@akobets.xyz>
Date:   Thu,  5 Mar 2020 11:28:14 +0200

rename HAVE_* flags to ENABLE_*

Diffstat:
Mconfig.mk | 26+++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/config.mk b/config.mk @@ -3,11 +3,11 @@ VERSION = 0.1.0 PREFIX = /usr/local # DRM support -HAVE_DRM = ON +ENABLE_DRM = ON # Quartz (OS X) support -HAVE_QUARTZ = OFF -# X support -HAVE_X = ON +ENABLE_QUARTZ = OFF +# X11 support +ENABLE_X = ON X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib @@ -22,15 +22,15 @@ X_INCS_ON = -I$(X11INC) X_LIBS_ON = -L$(X11LIB) -lX11 -lXrandr X_FLAGS_ON = -DX_SUPPORT -DRM_INCS = $(DRM_INCS_$(HAVE_DRM)) -DRM_LIBS = $(DRM_LIBS_$(HAVE_DRM)) -DRM_FLAGS = $(DRM_FLAGS_$(HAVE_DRM)) -QUARTZ_INCS = $(QUARTZ_INCS_$(HAVE_QUARTZ)) -QUARTZ_LIBS = $(QUARTZ_LIBS_$(HAVE_QUARTZ)) -QUARTZ_FLAGS = $(QUARTZ_FLAGS_$(HAVE_QUARTZ)) -X_INCS = $(X_INCS_$(HAVE_X)) -X_LIBS = $(X_LIBS_$(HAVE_X)) -X_FLAGS = $(X_FLAGS_$(HAVE_X)) +DRM_INCS = $(DRM_INCS_$(ENABLE_DRM)) +DRM_LIBS = $(DRM_LIBS_$(ENABLE_DRM)) +DRM_FLAGS = $(DRM_FLAGS_$(ENABLE_DRM)) +QUARTZ_INCS = $(QUARTZ_INCS_$(ENABLE_QUARTZ)) +QUARTZ_LIBS = $(QUARTZ_LIBS_$(ENABLE_QUARTZ)) +QUARTZ_FLAGS = $(QUARTZ_FLAGS_$(ENABLE_QUARTZ)) +X_INCS = $(X_INCS_$(ENABLE_X)) +X_LIBS = $(X_LIBS_$(ENABLE_X)) +X_FLAGS = $(X_FLAGS_$(ENABLE_X)) INCS = $(DRM_INCS) $(QUARTZ_INCS) $(X_INCS) LIBS = $(DRM_LIBS) $(QUARTZ_INCS) $(X_LIBS)