diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-22 08:24:31 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-22 08:24:31 +0000 |
commit | 5dff73d913879f4de69cd03d3fe12381f46e4f20 (patch) | |
tree | 0b22fd13276fba3ddd09cb2a236a9a1ce4235385 /os | |
parent | a3d35fc2a3a8eee327bfa8ac0037498a9f8f383e (diff) | |
download | ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.tar.gz ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.tar.bz2 ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10668 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/common/startup/e200/compilers/GHS/rules.mk | 12 |
1 files changed, 2 insertions, 10 deletions
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 ***
|