[Cita][#1193]mofify tests makefile for cita
@@ -3,9 +3,9 @@ SOURCES = $(wildcard *.c)
OBJECTS_DIR = $(BOAT_BUILD_DIR)/tests
OBJECTS = $(patsubst %.c,$(OBJECTS_DIR)/%.o,$(SOURCES))
-.PHONY: tests_BoAT_chainmaker_linuxDefault tests_BoAT_ethereum_linuxDefault tests_BoAT_fabric_linuxDefault tests_BoAT_platon_linuxDefault cleanchaimakerlinux cleanethereumlinux cleanfabriclinux cleanplatonlinux cleanplatonelinux
+.PHONY: tests_BoAT_chainmaker_linuxDefault tests_BoAT_ethereum_linuxDefault tests_BoAT_fabric_linuxDefault tests_BoAT_platon_linuxDefault tests_BoAT_cita_linuxDefault cleanchaimakerlinux cleanethereumlinux cleanfabriclinux cleanplatonlinux cleanplatonelinux cleancitalinux
-all: tests_BoAT_chainmaker_linuxDefault tests_BoAT_ethereum_linuxDefault tests_BoAT_fabric_linuxDefault tests_BoAT_platon_linuxDefault tests_BoAT_platone_linuxDefault $(OBJECTS_DIR) $(OBJECTS)
+all: tests_BoAT_chainmaker_linuxDefault tests_BoAT_ethereum_linuxDefault tests_BoAT_fabric_linuxDefault tests_BoAT_platon_linuxDefault tests_BoAT_platone_linuxDefault tests_BoAT_cita_linuxDefault $(OBJECTS_DIR) $(OBJECTS)
tests_BoAT_chainmaker_linuxDefault:
ifeq ($(BOAT_TEST_USE_CHAINMAKER), 1)
@@ -32,6 +32,10 @@ ifeq ($(BOAT_TEST_USE_PLATONE), 1)
make -C BoAT_platone_linuxDefault all
endif
+tests_BoAT_cita_linuxDefault:
+ifeq ($(BOAT_TEST_USE_CITA), 1)
+ make -C BoAT_cita_linuxDefault all
+endif
$(OBJECTS_DIR):
$(BOAT_MKDIR) -p $(OBJECTS_DIR)
@@ -39,7 +43,7 @@ $(OBJECTS_DIR):
$(OBJECTS_DIR)/%.o:%.c
$(CC) -c $(BOAT_CFLAGS) $< -o $@
-clean: cleanchaimakerlinux cleanethereumlinux cleanfabriclinux cleanplatonlinux cleanplatonelinux
+clean: cleanchaimakerlinux cleanethereumlinux cleanfabriclinux cleanplatonlinux cleanplatonelinux cleancitalinux
-$(BOAT_RM) $(OBJECTS)
cleanchaimakerlinux:
@@ -56,3 +60,6 @@ cleanplatonlinux:
cleanplatonelinux:
make -C BoAT_platone_linuxDefault clean
+
+cleancitalinux:
+ make -C BoAT_cita_linuxDefault clean
\ No newline at end of file
