From b6ef70387fd6f6c0740347d8a2d9882135b98528 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 13 Apr 2017 13:11:01 -0400 Subject: [PATCH] fixed windows makefile --- src/makefile.mingw | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/makefile.mingw b/src/makefile.mingw index 5eee3db..c8d4038 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -21,7 +21,7 @@ USE_UPNP:=- USE_IPV6:=1 DEPSDIR?=/usr/local -BOOST_SUFFIX?=-mgw46-mt-sd-1_52 +BOOST_SUFFIX?=-mt INCLUDEPATHS= \ -I"$(CURDIR)" \ @@ -117,10 +117,10 @@ OBJS_SSE2= obj/scrypt-sse2.o OBJS += $(OBJS_SSE2) endif -all: anoncoind.exe +all: gostcoind.exe -test check: test_anoncoin.exe FORCE - test_anoncoin.exe +test check: test_gostcoin.exe FORCE + test_gostcoin.exe # # LevelDB support @@ -137,7 +137,7 @@ obj/%-sse2.o: %-sse2.cpp obj/%.o: %.cpp $(HEADERS) $(CXX) -c $(CFLAGS) -o $@ $< -anoncoind.exe: $(OBJS:obj/%=obj/%) +gostcoind.exe: $(OBJS:obj/%=obj/%) $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) @@ -145,11 +145,11 @@ TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) obj-test/%.o: test/%.cpp $(HEADERS) $(CXX) -c $(TESTDEFS) $(CFLAGS) -o $@ $< -test_anoncoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) +test_gostcoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ -lboost_unit_test_framework$(BOOST_SUFFIX) $(LIBS) clean: - rm -f anoncoind.exe test_anoncoin.exe + rm -f gostcoind.exe test_gostcoin.exe rm -f obj/* rm -f obj-test/* cd leveldb && $(MAKE) TARGET_OS=NATIVE_WINDOWS clean && cd ..