|
|
|
@ -17,19 +17,19 @@ libimgdup.a: database.o bitmap.o
|
|
|
|
|
|
|
|
|
|
libs: libimgdup.so libimgdup.a |
|
|
|
|
|
|
|
|
|
imdb-query: query.o libimgdup.so |
|
|
|
|
imdb-query: imdb-query.o libimgdup.so |
|
|
|
|
gcc $(CFLAGS) $(CPPFLAGS) -L. $< -o $@ -limgdup
|
|
|
|
|
|
|
|
|
|
imdb-query-st: query.o libimgdup.a |
|
|
|
|
imdb-query-st: imdb-query.o libimgdup.a |
|
|
|
|
gcc $(CFLAGS) $(CPPFLAGS) -L. $^ -o $@ -static
|
|
|
|
|
|
|
|
|
|
imdb-1to2: imdb-1to2.c |
|
|
|
|
gcc $(CFLAGS) $(CPPFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
|
utils: imdb-query imdb-query-st imdb-sampler imdb-1to2 |
|
|
|
|
utils: imdb-query imdb-query-st imdb-write imdb-1to2 |
|
|
|
|
|
|
|
|
|
GMFLAGS=$(shell GraphicsMagickWand-config --cppflags --ldflags --libs)
|
|
|
|
|
imdb-sampler: sampler.c sample.c bitmap.c database.c |
|
|
|
|
imdb-write: imdb-write.c sample.c bitmap.c database.c |
|
|
|
|
gcc $(CFLAGS) $(CPPFLAGS) $(GMFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
@ -37,5 +37,5 @@ clean:
|
|
|
|
|
rm -f imdb-1to2
|
|
|
|
|
rm -f imdb-query
|
|
|
|
|
rm -f imdb-query-st
|
|
|
|
|
rm -f imdb-sampler
|
|
|
|
|
rm -f imdb-write
|
|
|
|
|
rm -f libimgdup*
|
|
|
|
|