aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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