]> Nishi Git Mirror - dataworks.git/commitdiff
fix clean target
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 07:00:37 +0000 (07:00 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 07:00:37 +0000 (07:00 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@338 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Makefiles/common.mk
Tool/Makefile
Tool/test.c

index ca54638d2c2778264f795716ee9c6a4fd649fc87..f8fd72ac5ab646a6bd83ebf588761e4645ebeb67 100644 (file)
@@ -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
index 2eae4ef34a5f963c9b160dd64ec58411f33faf4a..481e0b374fd97d8065eddb39aa9616268ccf5262 100644 (file)
@@ -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
index d4e9036feff6312bc1f273e7a02ec1b5a9f6a18e..3cf1fd0d9cec0fee1c8811c44a1aef179a4368d9 100644 (file)
@@ -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;
 }