diff options
Diffstat (limited to 'lib/make')
-rw-r--r-- | lib/make/make.configuration | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration index 9406b2a6..81873574 100644 --- a/lib/make/make.configuration +++ b/lib/make/make.configuration @@ -291,7 +291,9 @@ clean: cleandeps: @echo Deleting all dependency files in $(TOP) - find $(TOP)/build \( -name '*.[d]' -o -name '*.a' \) -exec rm {} \; + if test -d $(TOP)/build; then \ + find $(TOP)/build \( -name '*.[d]' -o -name '*.a' \) -exec rm {} \; ; \ + fi cleanobjs: @echo Deleting all object files in $(TOP) |