From a1171a365e829af312ef50f247d4f168f3a22de1 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 18 Jun 2024 07:00:37 +0000 Subject: [PATCH] fix clean target git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@338 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Makefiles/common.mk | 1 + Tool/Makefile | 2 +- Tool/test.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefiles/common.mk b/Makefiles/common.mk index ca54638..f8fd72a 100644 --- a/Makefiles/common.mk +++ b/Makefiles/common.mk @@ -62,6 +62,7 @@ clean: $(MAKE) -C ./Installer clean $(COMPILE_FLAGS) $(MAKE) -C ./Document clean $(COMPILE_FLAGS) $(MAKE) -C ./Tool clean $(COMPILE_FLAGS) + rm -f install.img dos-installer: if [ ! "$(FORMAT)" = "NO" ]; then $(MAKE) PLATFORM=dos clean ; fi diff --git a/Tool/Makefile b/Tool/Makefile index 2eae4ef..481e0b3 100644 --- a/Tool/Makefile +++ b/Tool/Makefile @@ -15,4 +15,4 @@ test: test.o cc -D_DEFAULT_SOURCE -std=c99 -c -o $@ $< clean: - rm -f docfmt *.o + rm -f docfmt *.o test diff --git a/Tool/test.c b/Tool/test.c index d4e9036..3cf1fd0 100644 --- a/Tool/test.c +++ b/Tool/test.c @@ -220,5 +220,6 @@ int main(int argc, char** argv) { int status; waitpid(pid, &status, 0); waitpid(pid2, &status, 0); + remove("db.dwf"); return 0; } -- 2.43.0