|
|
@ -147,7 +147,7 @@ OBJS= \ |
|
|
|
obj/chainparams.o |
|
|
|
obj/chainparams.o |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all: bitcoind |
|
|
|
all: twisterd |
|
|
|
|
|
|
|
|
|
|
|
test check: test_bitcoin FORCE |
|
|
|
test check: test_bitcoin FORCE |
|
|
|
./test_bitcoin |
|
|
|
./test_bitcoin |
|
|
@ -178,7 +178,7 @@ obj/%.o: %.cpp |
|
|
|
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ |
|
|
|
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ |
|
|
|
rm -f $(@:%.o=%.d) |
|
|
|
rm -f $(@:%.o=%.d) |
|
|
|
|
|
|
|
|
|
|
|
bitcoind: $(OBJS:obj/%=obj/%) |
|
|
|
twisterd: $(OBJS:obj/%=obj/%) |
|
|
|
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) |
|
|
|
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) |
|
|
|
|
|
|
|
|
|
|
|
TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) |
|
|
|
TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) |
|
|
@ -194,7 +194,7 @@ test_bitcoin: $(TESTOBJS) $(filter-out obj/init.o obj/bitcoind.o,$(OBJS:obj/%=ob |
|
|
|
$(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS) |
|
|
|
$(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS) |
|
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
clean: |
|
|
|
-rm -f bitcoind test_bitcoin |
|
|
|
-rm -f twisterd test_bitcoin |
|
|
|
-rm -f obj/*.o |
|
|
|
-rm -f obj/*.o |
|
|
|
-rm -f obj-test/*.o |
|
|
|
-rm -f obj-test/*.o |
|
|
|
-rm -f obj/*.P |
|
|
|
-rm -f obj/*.P |
|
|
|