From: nishi Date: Tue, 18 Jun 2024 07:00:37 +0000 (+0000) Subject: fix clean target X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a1171a365e829af312ef50f247d4f168f3a22de1;p=dataworks.git fix clean target git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@338 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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; }