From 254755e8dc0d8898646bfa0c7cce938767e170af Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Thu, 9 Apr 2015 17:03:37 +1000 Subject: [PATCH] * renamed source --- src/Makefile | 10 +++++----- src/{query.c => imdb-query.c} | 2 +- src/{sampler.c => imdb-write.c} | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename src/{query.c => imdb-query.c} (99%) rename src/{sampler.c => imdb-write.c} (100%) diff --git a/src/Makefile b/src/Makefile index 9f17e87..1062864 100644 --- a/src/Makefile +++ b/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* diff --git a/src/query.c b/src/imdb-query.c similarity index 99% rename from src/query.c rename to src/imdb-query.c index 2cef990..0d00bcc 100644 --- a/src/query.c +++ b/src/imdb-query.c @@ -23,7 +23,7 @@ void usage(int exitcode) { puts( -"Usage: imdb-util \n" +"Usage: imdb-query \n" " -b Path to database\n" " -t Maximum difference pct (0 - 50, default: 10%)\n" ); diff --git a/src/sampler.c b/src/imdb-write.c similarity index 100% rename from src/sampler.c rename to src/imdb-write.c