From 260ca8d73055260b881184b4e2d936cbace1c90c Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 5 Oct 2005 18:13:34 +0000 Subject: [PATCH] * A couple of small Makefile fixes --- code/unix/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index 0418b4b1..42fb7d8e 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -1425,7 +1425,7 @@ clean-debug: $(MAKE) clean2 B=$(BD) CFLAGS="$(DEBUG_CFLAGS)" clean-release: - $(MAKE) clean2 B=$(BR) CFLAGS="$(DEBUG_CFLAGS)" + $(MAKE) clean2 B=$(BR) CFLAGS="$(RELEASE_CFLAGS)" distclean: clean $(MAKE) -C ../tools/asm clean uninstall @@ -1435,4 +1435,8 @@ distclean: clean # DEPENDENCIES ############################################################################# --include $(shell find -name "*.d") +D_FILES=$(shell find -name "*.d") + +ifneq ($(strip $(D_FILES)),) + include $(D_FILES) +endif