# HG changeset patch # User mas01cr # Date 1231881981 0 # Node ID 3d17fdac096ae5c95045eee97577437f50adab28 # Parent 342822c2d49a0c8213426a8537ce13c873af500e 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" diff -r 342822c2d49a -r 3d17fdac096a Makefile --- 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) $<