diff options
author | Cory Fields <theuni-nospam-@xbmc.org> | 2013-05-26 13:48:30 -0400 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2013-06-04 03:54:14 -0400 |
commit | c862d2ff22f06cb15fb9492b9f0b69e3d91a7e44 (patch) | |
tree | 9c42a039cebd847704637de61d6f08e942f86f82 /src/makefile.mingw | |
parent | a9380c72bee0fc134a2215d7919b52936bd8158d (diff) |
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.
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r-- | src/makefile.mingw | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw index 8b5a5dccd9..34ddc3eece 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -79,6 +79,7 @@ OBJS= \ obj/key.o \ obj/db.o \ obj/init.o \ + obj/bitcoind.o \ obj/keystore.o \ obj/main.o \ obj/net.o \ @@ -127,7 +128,7 @@ TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) obj-test/%.o: test/%.cpp $(HEADERS) $(CXX) -c $(TESTDEFS) $(CFLAGS) -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) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ -lboost_unit_test_framework$(BOOST_SUFFIX) $(LIBS) clean: |