From 6213705e16727ca0322dab6a5f1be015e2d22eea Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 10 Mar 2014 22:54:49 +0100 Subject: list icc profiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index acac541..89d4432 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ PKGNAME ?= blueshift # Bindings for display server access SERVER_BINDINGS ?= randr vidmode # Executable bindings for display server access -EXECS ?= idcrtc +EXECS ?= idcrtc iccprofile # Executable library files EXECLIBS = $(foreach E,$(EXECS),blueshift_$(E)) @@ -52,6 +52,7 @@ WARN = -Wall -Wextra -pedantic # The C standard for C code compilation STD = c99 LIBS_idcrtc = xcb-randr +LIBS_iccprofile = xcb LIBS_randr = xcb-randr LIBS_vidmode = x11 xxf86vm LIBS = python3 $(foreach B,$(SERVER_BINDINGS) $(EXECS),$(LIBS_$(B))) @@ -87,6 +88,11 @@ bin/blueshift_idcrtc: obj/blueshift_idcrtc.o @mkdir -p bin $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -o $@ $^ +bin/blueshift_iccprofile: LIBS_=LIBS_iccprofile +bin/blueshift_iccprofile: obj/blueshift_iccprofile.o + @mkdir -p bin + $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -o $@ $^ + bin/blueshift_randr.so: LIBS_=LIBS_randr bin/blueshift_vidmode.so: LIBS_=LIBS_vidmode bin/%.so: obj/%.o obj/%_c.o -- cgit v1.2.3-70-g09d2