diff --git a/Makefile b/Makefile index d1a8e4874..9bc1e7e44 100644 --- a/Makefile +++ b/Makefile @@ -262,10 +262,9 @@ patch: @chmod a+x $(ROOT_DIR)/.github/create_patch.sh && $(ROOT_DIR)/.github/create_patch.sh external-libs: - @cd $(ROOT_DIR)/include/cJSON && make clean && make @cd $(ROOT_DIR)/include/SDL && make clean && make -test: +test: external-libs @mkdir -p $(BUILD_TEST_DIR)/infoPanel_test_data && cd $(TEST_SRC_DIR) && BUILD_DIR=$(BUILD_TEST_DIR)/ make dev @cp -R $(TEST_SRC_DIR)/infoPanel_test_data $(BUILD_TEST_DIR)/ cd $(BUILD_TEST_DIR) && ./test