git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10668 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2017-09-22 08:24:31 +00:00
parent a3d35fc2a3
commit 5dff73d913
2 changed files with 4 additions and 12 deletions

View File

@ -148,10 +148,10 @@ MOT = gsrec
BIN = gmemfile BIN = gmemfile
# Define C warning options here # Define C warning options here
CWARN = --ghstd=last CWARN = -Wunknown-pragmas -Wimplicit-int -Wshadow -Wtrigraphs -Wundef
# Define C++ warning options here # Define C++ warning options here
CPPWARN = --ghstd=last CPPWARN = -Wunknown-pragmas -Wimplicit-int -Wshadow -Wtrigraphs -Wundef
# #
# Compiler settings # Compiler settings

View File

@ -58,14 +58,6 @@ ifeq ($(BUILDDIR),.)
BUILDDIR = build BUILDDIR = build
endif endif
# Dependencies directory
ifeq ($(DEPDIR),)
DEPDIR = .dep
endif
ifeq ($(DEPDIR),.)
DEPDIR = .dep
endif
OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \ OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \
$(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \ $(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \
$(BUILDDIR)/$(PROJECT).dmp $(BUILDDIR)/$(PROJECT).dmp
@ -240,7 +232,7 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
clean: CLEAN_RULE_HOOK clean: CLEAN_RULE_HOOK
@echo Cleaning @echo Cleaning
-rm -fR $(DEPDIR) $(BUILDDIR) -rm -fR $(BUILDDIR)
@echo @echo
@echo Done @echo Done
@ -249,6 +241,6 @@ CLEAN_RULE_HOOK:
# #
# Include the dependency files, should be the last of the makefile # 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 *** # *** EOF ***