From 2a9456b3bafd41524bde12e622d45f343262b8aa Mon Sep 17 00:00:00 2001 From: holmes1412 Date: Mon, 26 Jul 2021 17:47:02 +0800 Subject: [PATCH] update test/tutorial cmake --- test/GNUmakefile | 4 +--- tutorial/GNUmakefile | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/test/GNUmakefile b/test/GNUmakefile index 9d855c13..c3ee1fde 100644 --- a/test/GNUmakefile +++ b/test/GNUmakefile @@ -25,8 +25,6 @@ check: clean: ifeq ($(MAKE_FILE), $(wildcard $(MAKE_FILE))) -make -f Makefile clean -else ifeq (build, $(wildcard build)) - -make -C build clean endif - rm -rf build + rm -rf $(DEFAULT_BUILD_DIR) diff --git a/tutorial/GNUmakefile b/tutorial/GNUmakefile index 2d16458e..40939802 100644 --- a/tutorial/GNUmakefile +++ b/tutorial/GNUmakefile @@ -25,7 +25,7 @@ endif clean: ifeq ($(MAKE_FILE), $(wildcard $(MAKE_FILE))) -make -f Makefile clean -else ifeq (build, $(wildcard build)) - -make -C build clean +else + -make -C $(DEFAULT_BUILD_DIR) clean endif - rm -rf build + rm -rf $(DEFAULT_BUILD_DIR)