aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.unix
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-08-26 18:41:22 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-08-26 18:43:58 -0400
commit829e21733b1c232c79c1a2d10598eb47b2f5f7f9 (patch)
tree3eceddfc800a48afa6f4564d248742003eab3b33 /src/makefile.unix
parent1224a14ae435ecc5bce41c5e8165f28ab75c6f2d (diff)
CHECKMULTISIG unit tests.
Diffstat (limited to 'src/makefile.unix')
-rw-r--r--src/makefile.unix4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index 4c92797292..597eea0dc8 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -77,8 +77,8 @@ obj/nogui/%.o: %.cpp $(HEADERS)
bitcoind: $(OBJS:obj/%=obj/nogui/%)
$(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
-obj/test/%.o: test/%.cpp $(HEADERS)
- $(CXX) -c $(CXXFLAGS) -o $@ $<
+obj/test/test_bitcoin.o: $(wildcard test/*.cpp) $(HEADERS)
+ $(CXX) -c $(CFLAGS) -o $@ test/test_bitcoin.cpp
test_bitcoin: obj/test/test_bitcoin.o $(filter-out obj/nogui/init.o,$(OBJS:obj/%=obj/nogui/%))
$(CXX) $(CXXFLAGS) -o $@ $(LIBPATHS) $^ -Wl,-Bstatic -lboost_unit_test_framework $(LIBS)