From 2baa9bd9cd9a5365b6b826de2377a6a29ff1dd3b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 14 Jun 2017 21:04:36 +0200 Subject: Add YES colour model, generate the conversion matrices, and add more direct conversions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3c55d18..b7b78c3 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,8 @@ OBJ =\ HDR =\ libcolour.h\ common.h\ - conversions.h + conversions.h\ + conversion-matrices.h TEMPLATES =\ en_masse-template.c\ @@ -80,6 +81,11 @@ MAN3_SYMLINKS =\ all: libcolour.a libcolour.so.$(SO_VERSION) libcolour.7 test +conversion-matrices.h: matrices.py + printf '/* This file is generated! */\n' > conversion-matrices.h + ./matrices.py >> conversion-matrices.h + + float.o: float.c $(TEMPLATES) $(HDR) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ float.c @@ -179,6 +185,6 @@ check: test ./test clean: - -rm -- *.o *.a *.so *.so.* test + -rm -- *.o *.a *.so *.so.* test conversion-matrices.h .PHONY: all clean check install uninstall -- cgit v1.2.3-70-g09d2