Add new "checksource" target to the library makefiles, for automated source file existance checking.
This commit is contained in:
parent
5d7827a573
commit
ca9f89ce82
80 changed files with 792 additions and 147 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue