feat(venachain):Modify demo main Makefile to adapt demo_venachain
# Generate sub-directory list
OBJECTS_DIR = $(BOAT_BUILD_DIR)/demo
-.PHONY: all demo_ethereum demo_platon demo_platone demo_fiscobcos demo_fabric demo_hw_bcs demo_chainmaker
-all: $(OBJECTS_DIR) demo_ethereum demo_platon demo_platone demo_fiscobcos demo_fabric demo_hw_bcs demo_chainmaker
+.PHONY: all demo_ethereum demo_platon demo_platone demo_fiscobcos demo_fabric demo_hw_bcs demo_chainmaker demo_venachain
+all: $(OBJECTS_DIR) demo_ethereum demo_platon demo_platone demo_fiscobcos demo_fabric demo_hw_bcs demo_chainmaker demo_venachain
demo_ethereum:
ifeq ($(BOAT_PROTOCOL_USE_ETHEREUM), 1)
@@ -41,6 +41,11 @@ ifeq ($(BOAT_PROTOCOL_USE_CHAINMAKER), 1)
make -C $(BOAT_BASE_DIR)/demo/demo_chainmaker all
endif
+demo_venachain:
+ifeq ($(BOAT_PROTOCOL_USE_VENACHAIN), 1)
+ make -C $(BOAT_BASE_DIR)/demo/demo_venachain all
+endif
+
$(OBJECTS_DIR):
$(BOAT_MKDIR) -p $(OBJECTS_DIR)
@@ -52,4 +57,5 @@ clean:
make -C $(BOAT_BASE_DIR)/demo/demo_fabric clean
make -C $(BOAT_BASE_DIR)/demo/demo_hw_bcs clean
make -C $(BOAT_BASE_DIR)/demo/demo_chainmaker clean
+ make -C $(BOAT_BASE_DIR)/demo/demo_venachain clean
-$(BOAT_RM) $(BOAT_BUILD_DIR)/demo
