From c862d2ff22f06cb15fb9492b9f0b69e3d91a7e44 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Sun, 26 May 2013 13:48:30 -0400 Subject: build: split the non-gui startup routines into a new file This will allow each to have its own main(), meaning that we can build a common base client and simply link in the correct startup object to create the appropriate binary. --- src/makefile.linux-mingw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/makefile.linux-mingw') diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 7719cd2637..114a9491bd 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -71,6 +71,7 @@ OBJS= \ obj/key.o \ obj/db.o \ obj/init.o \ + obj/bitcoind.o \ obj/keystore.o \ obj/main.o \ obj/net.o \ @@ -116,7 +117,7 @@ TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) obj-test/%.o: test/%.cpp $(HEADERS) $(CXX) -c $(TESTDEFS) $(xCXXFLAGS) -o $@ $< -test_bitcoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) +test_bitcoin.exe: $(TESTOBJS) $(filter-out obj/init.o obj/bitcoind.o,$(OBJS:obj/%=obj/%)) $(CXX) $(xCXXFLAGS) $(xLDFLAGS) -o $@ $(LIBPATHS) $^ -lboost_unit_test_framework-mt-s $(LIBS) -- cgit v1.2.3