Makefile: get rid of the config.h check.

This doesn't work well for developers, because config.h.default is
rewritten all the time when switching branches.
This commit is contained in:
Markus Hitter 2013-11-28 23:06:23 +01:00
parent f37a65ca36
commit 8a476e2fba
1 changed files with 1 additions and 8 deletions

View File

@ -42,18 +42,11 @@ OBJCOPY = $(TOOLCHAIN)objcopy
.PHONY: all clean doc functionsbysize .PHONY: all clean doc functionsbysize
.PRECIOUS: %.o %.elf .PRECIOUS: %.o %.elf
all: config.h $(BUILDDIR) $(TARGET) all: $(BUILDDIR) $(TARGET)
clean: clean:
rm -rf $(BUILDDIR) $(TARGET) *~ rm -rf $(BUILDDIR) $(TARGET) *~
config.h: config.default.h
@echo "config.default.h is more recent than config.h. You likely want to"
@echo "review (edit) config.h to match new features in config.default.h."
@echo "To view the differences, run: diff -bBEu config.h config.default.h"
@echo "If you just want to get rid of this message, run: touch config.h"
@false
doc: Doxyfile *.c *.h doc: Doxyfile *.c *.h
doxygen $< doxygen $<