]> mj.ucw.cz Git - libucw.git/blob - images/Makefile
b35ab2ecaac92dba146f29b09cee87b7b80e4125
[libucw.git] / images / Makefile
1 # Testing dir... code will be moved somewhere else... maybe to trash :-)
2
3 DIRS+=images
4
5 PROGS+=$(addprefix $(o)/images/,image-idx image-test decomp)
6
7 $(o)/images/image-sig.o $(o)/images/image-sig.oo: CFLAGS+=-I/usr/include/GraphicsMagick
8 $(o)/images/image-idx.o $(o)/images/image-idx.oo: CFLAGS+=-I/usr/include/GraphicsMagick
9 $(o)/images/image-obj.o $(o)/images/image-obj.oo: CFLAGS+=-I/usr/include/GraphicsMagick
10 $(o)/images/image-idx: $(o)/images/image-idx.o $(o)/images/image-obj.o $(o)/images/dup-cmp.o $(o)/indexer/iconfig.o $(o)/images/image-sig.o $(o)/images/kd-tree.o $(o)/images/color.o $(LIBSH) $(LIBLANG) $(LIBCHARSET)
11 $(o)/images/image-idx: LIBS+=-lGraphicsMagick -ljpeg -lpng
12 $(o)/images/image-test: $(o)/images/image-test.o $(o)/images/kd-tree.o $(LIBSH)
13
14 $(o)/images/color-t: LIBS+=-lm
15
16 TESTS+=$(addprefix $(o)/images/,color.test)
17
18 $(o)/images/color.test: $(o)/images/color-t
19
20 # By :;DF
21 $(o)/images/block_info.o $(o)/images/block_info.oo: CFLAGS+=-I/usr/include/GraphicsMagick
22 $(o)/images/k_means.o $(o)/images/k_means.oo: CFLAGS+=-I/usr/include/GraphicsMagick
23 $(o)/images/decomp.o $(o)/images/decomp.oo: CFLAGS+=-I/usr/include/GraphicsMagick
24
25 $(o)/images/decomp: $(o)/images/decomp.o $(o)/images/block_info.o $(o)/images/k_means.o $(LIBSH) $(LIBLANG) $(LIBCHARSET)
26 $(o)/images/decomp: LIBS+=-lGraphicsMagick -ljpeg -lm
27