From 8a1fc07684525db2a1ebf9b6c3d6163ea3e61ddc Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Fri, 10 Apr 2015 15:31:58 +1000 Subject: [PATCH] * Makefile : fix linking of imdb-write --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 86df4be..f749c5e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,11 +27,11 @@ imdb-query-st: imdb-query.o libimgdup.a imdb-1to2: imdb-1to2.c gcc $(CFLAGS) $(CPPFLAGS) -o $@ $^ -utils: imdb-query imdb-query-st imdb-write imdb-1to2 - GMFLAGS=$(shell GraphicsMagickWand-config --cppflags --ldflags --libs) imdb-write: imdb-write.c sample.c bitmap.c database.c - gcc $(CFLAGS) $(CPPFLAGS) $(GMFLAGS) -limgdup -o $@ $^ + gcc $(CFLAGS) $(CPPFLAGS) -L. $(GMFLAGS) -o $@ $^ -limgdup + +utils: imdb-query imdb-query-st imdb-write imdb-1to2 install: libimgdup.so utils install -m755 -s -o root imdb-query $(PREFIX)/bin