From 5dff73d913879f4de69cd03d3fe12381f46e4f20 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 22 Sep 2017 08:24:31 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10668 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/e200/compilers/GHS/rules.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'os/common/startup') diff --git a/os/common/startup/e200/compilers/GHS/rules.mk b/os/common/startup/e200/compilers/GHS/rules.mk index 6fd45a430..dcaab3b91 100644 --- a/os/common/startup/e200/compilers/GHS/rules.mk +++ b/os/common/startup/e200/compilers/GHS/rules.mk @@ -58,14 +58,6 @@ ifeq ($(BUILDDIR),.) BUILDDIR = build endif -# Dependencies directory -ifeq ($(DEPDIR),) - DEPDIR = .dep -endif -ifeq ($(DEPDIR),.) - DEPDIR = .dep -endif - OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \ $(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \ $(BUILDDIR)/$(PROJECT).dmp @@ -240,7 +232,7 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS) clean: CLEAN_RULE_HOOK @echo Cleaning - -rm -fR $(DEPDIR) $(BUILDDIR) + -rm -fR $(BUILDDIR) @echo @echo Done @@ -249,6 +241,6 @@ CLEAN_RULE_HOOK: # # Include the dependency files, should be the last of the makefile # --include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*) +-include $(wildcard $(OBJDIR)/*.d) # *** EOF *** -- cgit v1.2.3