projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option...
[pub/USBasp.git]
/
Demos
/
OTG
/
TestApp
/
makefile
diff --git
a/Demos/OTG/TestApp/makefile
b/Demos/OTG/TestApp/makefile
index
b5c50bb
..
b0021af
100644
(file)
--- a/
Demos/OTG/TestApp/makefile
+++ b/
Demos/OTG/TestApp/makefile
@@
-123,7
+123,7
@@
LUFA_PATH = ../../..
\r
\r
# LUFA library compile-time options
\r
\r
\r
# LUFA library compile-time options
\r
-LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES
\r
+LUFA_OPTS =
-D
USE_NONSTANDARD_DESCRIPTOR_NAMES
\r
\r
\r
# List C source files here. (C dependencies are automatically generated.)
\r
\r
\r
# List C source files here. (C dependencies are automatically generated.)
\r
@@
-188,7
+188,7
@@
CSTANDARD = -std=gnu99
\r
\r
# Place -D or -U options here for C sources
\r
\r
\r
# Place -D or -U options here for C sources
\r
-CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(
patsubst %,-D%,$(LUFA_OPTS)
)
\r
+CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(
LUFA_OPTS
)
\r
\r
\r
# Place -D or -U options here for ASM sources
\r
\r
\r
# Place -D or -U options here for ASM sources
\r