aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-14 21:04:36 +0200
committerMattias Andrée <maandree@kth.se>2017-06-14 21:04:36 +0200
commit2baa9bd9cd9a5365b6b826de2377a6a29ff1dd3b (patch)
tree8c8ab45dc0a1dd9f9127f40acd6626b1ca19235c /Makefile
parentUpdate todo (diff)
downloadlibcolour-2baa9bd9cd9a5365b6b826de2377a6a29ff1dd3b.tar.gz
libcolour-2baa9bd9cd9a5365b6b826de2377a6a29ff1dd3b.tar.bz2
libcolour-2baa9bd9cd9a5365b6b826de2377a6a29ff1dd3b.tar.xz
Add YES colour model, generate the conversion matrices, and add more direct conversions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
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