Add new "checksource" target to the library makefiles, for automated source file existance checking.

This commit is contained in:
Dean Camera 2011-06-20 14:38:21 +00:00
parent 5d7827a573
commit ca9f89ce82
80 changed files with 792 additions and 147 deletions

View file

@ -465,6 +465,15 @@ doxygen:
clean_doxygen:
rm -rf Documentation
checksource:
@for f in $(SRC) $(CPPSRC) $(ASRC); do \
if [ -f $$f ]; then \
echo "Found Source File: $$f" ; \
else \
echo "Source File Not Found: $$f" ; \
fi; done
# Create object files directory
$(shell mkdir $(OBJDIR) 2>/dev/null)
@ -476,5 +485,5 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex lss sym doxygen clean clean_list clean_doxygen \
dfu flip
dfu flip checksource