From d89735602991f755ec6a32b655cd0b39bcc79e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Agust=C3=ADn=20Moreno=20Larios?= Date: Sun, 3 Dec 2023 16:28:02 -0500 Subject: [PATCH 1/2] Changed 'codeclean' so that it doesn't try to delete inexistent directories. --- Makefile.port | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.port b/Makefile.port index 2b123e83b..e3386022f 100644 --- a/Makefile.port +++ b/Makefile.port @@ -316,4 +316,4 @@ allclean: rm -rf src/generated codeclean: - find $(B_DIR)/game $(B_DIR)/inflate $(B_DIR)/lib $(B_DIR)/port -name '*.o' -delete + find $(B_DIR)/port -name '*.o' -delete From 13b23de6d33ee736f42132886a030cb7017fe97a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Agust=C3=ADn=20Moreno=20Larios?= Date: Sun, 3 Dec 2023 16:38:18 -0500 Subject: [PATCH 2/2] Simplified the 'codeclean' rule to find all *.o files and delete them --- Makefile.port | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.port b/Makefile.port index e3386022f..db1d2bbd9 100644 --- a/Makefile.port +++ b/Makefile.port @@ -316,4 +316,4 @@ allclean: rm -rf src/generated codeclean: - find $(B_DIR)/port -name '*.o' -delete + find $(B_DIR)/ -name '*.o' -delete