diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-10 22:54:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-10 22:54:49 +0100 |
commit | 6213705e16727ca0322dab6a5f1be015e2d22eea (patch) | |
tree | 9cbad2ef5486eb6b3683a8cf660d63b33d30c90f /Makefile | |
parent | licenses partially under AGPL3 and partially under GPL3 (diff) | |
download | blueshift-6213705e16727ca0322dab6a5f1be015e2d22eea.tar.gz blueshift-6213705e16727ca0322dab6a5f1be015e2d22eea.tar.bz2 blueshift-6213705e16727ca0322dab6a5f1be015e2d22eea.tar.xz |
list icc profiles
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |