Browse Source

* renamed source

master
Alex 'AdUser' Z 10 years ago
parent
commit
254755e8dc
  1. 10
      src/Makefile
  2. 2
      src/imdb-query.c
  3. 0
      src/imdb-write.c

10
src/Makefile

@ -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*

2
src/query.c → src/imdb-query.c

@ -23,7 +23,7 @@
void usage(int exitcode) {
puts(
"Usage: imdb-util <opts>\n"
"Usage: imdb-query <opts>\n"
" -b <path> Path to database\n"
" -t <int> Maximum difference pct (0 - 50, default: 10%)\n"
);

0
src/sampler.c → src/imdb-write.c

Loading…
Cancel
Save