summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-18 22:48:55 +0000
committerAlan Conway <aconway@apache.org>2006-10-18 22:48:55 +0000
commit9b7ec1df0189d4557d51bc6220931f9d641ecdf5 (patch)
treee6c7d824eaf4cf8431e2ce5c002a2362722b2eca /cpp/Makefile
parent4bddf9b38cb29b2528a66305ca6acfd5f09067cc (diff)
downloadqpid-python-9b7ec1df0189d4557d51bc6220931f9d641ecdf5.tar.gz
Fix build problems in makefile & client tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465407 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index ca774563c2..33a020780d 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -99,10 +99,10 @@ UNITTESTS := $(UNITTESTS) $(wildcard test/unit/qpid/broker/*Test.cpp)
$(CXX) -shared -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 -lcppunit $(CURDIR)/$(COMMON_LIB) $(CURDIR)/$(BROKER_LIB)
## Client tests
-
-all-nogen: $(wildcard test/client/*.cpp:.cpp=)
+CLIENT_TEST_SRC := $(wildcard test/client/*.cpp)
+all-nogen: $(CLIENT_TEST_SRC:.cpp=)
test/client/%: test/client/%.cpp
- $(CXX) -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 $(LINK_WITH_$(LIB)) $(LINK_WITH_$(LIB)_DEPS)
+ $(CXX) -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 $(CURDIR)/$(COMMON_LIB) $(CURDIR)/$(CLIENT_LIB)
## Daemon executable