From 1601e1be4436a02bd497f5c9753c317ec508b3cb Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 20 Jun 2011 14:38:21 +0000 Subject: Add new "checksource" target to the library makefiles, for automated source file existance checking. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1821 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Projects/RelayBoard/makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Projects/RelayBoard/makefile') diff --git a/Projects/RelayBoard/makefile b/Projects/RelayBoard/makefile index 9cfc2476..15d88b3a 100644 --- a/Projects/RelayBoard/makefile +++ b/Projects/RelayBoard/makefile @@ -703,6 +703,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) @@ -715,5 +724,4 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) .PHONY : all begin finish end sizebefore sizeafter gccversion \ build elf hex eep lss sym coff extcoff doxygen clean \ clean_list clean_doxygen program dfu flip flip-ee dfu-ee \ -debug gdb-config - +debug gdb-config checksource -- cgit v1.2.3