|
|
|
@ -147,7 +147,7 @@ OBJS= \
@@ -147,7 +147,7 @@ OBJS= \
|
|
|
|
|
obj/chainparams.o |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all: bitcoind |
|
|
|
|
all: twisterd |
|
|
|
|
|
|
|
|
|
test check: test_bitcoin FORCE |
|
|
|
|
./test_bitcoin |
|
|
|
@ -178,7 +178,7 @@ obj/%.o: %.cpp
@@ -178,7 +178,7 @@ obj/%.o: %.cpp
|
|
|
|
|
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ |
|
|
|
|
rm -f $(@:%.o=%.d) |
|
|
|
|
|
|
|
|
|
bitcoind: $(OBJS:obj/%=obj/%) |
|
|
|
|
twisterd: $(OBJS:obj/%=obj/%) |
|
|
|
|
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) |
|
|
|
|
|
|
|
|
|
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
@@ -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) |
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
|
-rm -f bitcoind test_bitcoin |
|
|
|
|
-rm -f twisterd test_bitcoin |
|
|
|
|
-rm -f obj/*.o |
|
|
|
|
-rm -f obj-test/*.o |
|
|
|
|
-rm -f obj/*.P |
|
|
|
|