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
				
			
		| 
						 | 
				
			
			@ -688,6 +688,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)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -699,5 +708,5 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
 | 
			
		|||
# Listing of phony targets.
 | 
			
		||||
.PHONY : all begin finish end sizebefore sizeafter gccversion \
 | 
			
		||||
build elf hex eep lss sym coff extcoff doxygen clean          \
 | 
			
		||||
clean_list clean_doxygen program debug gdb-config
 | 
			
		||||
clean_list clean_doxygen program debug gdb-config checksource
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue