Browse Source

* Makefile : fix linking of imdb-write

master
Alex 'AdUser' Z 10 years ago
parent
commit
8a1fc07684
  1. 6
      src/Makefile

6
src/Makefile

@ -27,11 +27,11 @@ imdb-query-st: imdb-query.o libimgdup.a
imdb-1to2: imdb-1to2.c imdb-1to2: imdb-1to2.c
gcc $(CFLAGS) $(CPPFLAGS) -o $@ $^ gcc $(CFLAGS) $(CPPFLAGS) -o $@ $^
utils: imdb-query imdb-query-st imdb-write imdb-1to2
GMFLAGS=$(shell GraphicsMagickWand-config --cppflags --ldflags --libs) GMFLAGS=$(shell GraphicsMagickWand-config --cppflags --ldflags --libs)
imdb-write: imdb-write.c sample.c bitmap.c database.c 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: libimgdup.so utils
install -m755 -s -o root imdb-query $(PREFIX)/bin install -m755 -s -o root imdb-query $(PREFIX)/bin

Loading…
Cancel
Save