Mercurial > hg > audiodb
changeset 613:2086515cdeea
Use pkg-config to pick up dependencies (gsoap++, gsl)
author | mas01cr |
---|---|
date | Tue, 01 Sep 2009 14:55:47 +0000 |
parents | c80ade092d7a |
children | 9ac6a38671cf |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Sep 01 14:17:57 2009 +0000 +++ b/Makefile Tue Sep 01 14:55:47 2009 +0000 @@ -1,10 +1,10 @@ HELP2MAN=help2man GENGETOPT=gengetopt SOAPCPP2=soapcpp2 -GSOAP_CPP=-lgsoap++ -LIBGSL=-lgsl -lgslcblas -GSL_INCLUDE= -GSOAP_INCLUDE= +GSOAP_INCLUDE=$(shell pkg-config --cflags gsoap++) +GSOAP_CPP=$(shell pkg-config --libs gsoap++) +GSL_INCLUDE=$(shell pkg-config --cflags gsl) +LIBGSL=$(shell pkg-config --libs gsl) PREFIX=/usr/local EXEC_PREFIX=$(PREFIX)