diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 14:38:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 14:38:21 +0000 |
commit | ca9f89ce821db58532f1782da2b3d22e3ac961f3 (patch) | |
tree | 29cda8673e9de7ea22e927561623b5aca64e5030 /Bootloaders | |
parent | 5d7827a573b7c9d110b1a9b180b5c2596c50ea3b (diff) | |
download | lufa-ca9f89ce821db58532f1782da2b3d22e3ac961f3.tar.gz lufa-ca9f89ce821db58532f1782da2b3d22e3ac961f3.tar.bz2 lufa-ca9f89ce821db58532f1782da2b3d22e3ac961f3.zip |
Add new "checksource" target to the library makefiles, for automated source file existance checking.
Diffstat (limited to 'Bootloaders')
-rw-r--r-- | Bootloaders/CDC/makefile | 11 | ||||
-rw-r--r-- | Bootloaders/DFU/makefile | 11 | ||||
-rw-r--r-- | Bootloaders/HID/makefile | 11 |
3 files changed, 30 insertions, 3 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index cdde8d2b9..4ae358b27 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -693,6 +693,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) @@ -704,5 +713,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 diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 458a6ce86..d3e3be9f4 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -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 diff --git a/Bootloaders/HID/makefile b/Bootloaders/HID/makefile index 738ecc638..dede899a6 100644 --- a/Bootloaders/HID/makefile +++ b/Bootloaders/HID/makefile @@ -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
|