Index: third_party/qcms/src/tests/Makefile |
diff --git a/third_party/qcms/src/tests/Makefile b/third_party/qcms/src/tests/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4adb7e217f1d2dc6394d034fbdfd5bf3f4f18fbe |
--- /dev/null |
+++ b/third_party/qcms/src/tests/Makefile |
@@ -0,0 +1,16 @@ |
+CC=gcc |
+INCLUDE=-I../ |
+WALL=-Wall |
+CFLAGS=-O2 -msse2 $(WALL) -DSSE2_ENABLE |
+LDFLAGS=-lm |
+ |
+QCMS=../transform.c ../transform-sse2.c ../transform_util.c ../matrix.c ../iccread.c ../chain.c ../qcms_util.c |
+OBJS=$(QCMS:.c=.o) |
+ |
+all: qcms_tests |
+ |
+qcms_tests: qcms_test_*.c $(OBJS) |
+ $(CC) $(CFLAGS) $(INCLUDE) $^ -o $@ $(LDFLAGS) |
+ |
+clean: |
+ rm -rf qcms_tests *.o $(OBJS) |