Mercurial > hg > audiodb
changeset 503:3d17fdac096a
Makefile improvements from library/application separation.
Library object files don't need soap includes, and depend on a different
set of header files from the application object files.
Run the library tests with "make test"
author | mas01cr |
---|---|
date | Tue, 13 Jan 2009 21:26:21 +0000 |
parents | 342822c2d49a |
children | da4b76190d43 |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Jan 10 16:47:57 2009 +0000 +++ b/Makefile Tue Jan 13 21:26:21 2009 +0000 @@ -48,6 +48,9 @@ soapServer.cpp soapClient.cpp soapC.cpp adb.nsmap: audioDBws.h $(SOAPCPP2) audioDBws.h +$(LIBOBJS): %.o: %.cpp audioDB.h audioDB_API.h audioDB-internals.h accumulator.h accumulators.h + g++ -c $(CFLAGS) $(GSL_INCLUDE) -Wall $< + %.o: %.cpp audioDB.h audioDB_API.h adb.nsmap cmdline.h reporter.h ReporterBase.h lshlib.h g++ -c $(CFLAGS) $(GSOAP_INCLUDE) $(GSL_INCLUDE) -Wall $< @@ -83,6 +86,7 @@ test: $(EXECUTABLE) -sh -c "cd tests && sh ./run-tests.sh" + -sh -c "cd libtests && sh ./run-tests.sh" xthresh: xthresh.c gcc -o $@ $(CFLAGS) $(GSL_INCLUDE) $(LIBGSL) $<