aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.mingw
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2011-07-31 20:00:38 +0200
committerGavin Andresen <gavinandresen@gmail.com>2011-08-08 14:31:08 -0400
commite707d29dd601bbe691175b72686caeaea29b1cbc (patch)
tree81f0d487000519207776a75b9d679ee0f36aa41f /src/makefile.mingw
parent02962ba848d1f7d58fe0f12a783400fc15e7260b (diff)
downloadbitcoin-e707d29dd601bbe691175b72686caeaea29b1cbc.tar.xz
Fix testing setup
There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r--src/makefile.mingw2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw
index 16a0540094..96f81b3067 100644
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -86,7 +86,7 @@ bitcoind.exe: $(OBJS:obj/%=obj/nogui/%) obj/ui_res.o
obj/test/%.o: obj/test/%.cpp $(HEADERS)
g++ -c $(CFLAGS) -o $@ $<
-test_bitcoin: obj/test/test_bitcoin.o
+test_bitcoin.exe: obj/test/test_bitcoin.o $(filter-out obj/nogui/init.o,$(OBJS:obj/%=obj/nogui/%))
g++ $(CFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS)
clean: