diff options
-rw-r--r-- | code/unix/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index 0418b4b..42fb7d8 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 |