projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure the DFU bootloader disables and clears the activity LED toggle timer when...
[pub/USBasp.git]
/
Demos
/
Host
/
ClassDriver
/
AudioOutputHost
/
makefile
diff --git
a/Demos/Host/ClassDriver/AudioOutputHost/makefile
b/Demos/Host/ClassDriver/AudioOutputHost/makefile
index
c723cb3
..
38e53e3
100644
(file)
--- a/
Demos/Host/ClassDriver/AudioOutputHost/makefile
+++ b/
Demos/Host/ClassDriver/AudioOutputHost/makefile
@@
-120,11
+120,7
@@
LUFA_PATH = ../../../..
# LUFA library compile-time options and predefined tokens
# LUFA library compile-time options and predefined tokens
-LUFA_OPTS = -D USB_HOST_ONLY
-LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
-
-LUFA_OPTS += -D MICROPHONE_BIASED_TO_HALF_RAIL
-LUFA_OPTS += -D USE_TEST_TONE
+LUFA_OPTS = -D USE_LUFA_CONFIG_HEADER
# Create the LUFA source path variables by including the LUFA root makefile
# Create the LUFA source path variables by including the LUFA root makefile
@@
-169,7
+165,7
@@
DEBUG = dwarf-2
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
-EXTRAINCDIRS = $(LUFA_PATH)/
+EXTRAINCDIRS = $(LUFA_PATH)/
Config/
# Compiler flag to set the C Standard level.
# Compiler flag to set the C Standard level.
@@
-694,13
+690,24
@@
clean_list :
$(REMOVEDIR) .dep
doxygen:
$(REMOVEDIR) .dep
doxygen:
- @echo Generating Project Documentation...
- @doxygen Doxygen.conf
+ @echo Generating Project Documentation \($(TARGET)\)...
+ @if ( ( cat Doxygen.conf ; echo "HTML_STYLESHEET=$(LUFA_PATH)/LUFA/DoxygenPages/Style/Style.css" ) | doxygen - 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \
+ exit 1; \
+ fi;
@echo Documentation Generation Complete.
clean_doxygen:
rm -rf Documentation
@echo Documentation Generation Complete.
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)
# Create object files directory
$(shell mkdir $(OBJDIR) 2>/dev/null)
@@
-713,5
+720,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 \
.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