diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-04-12 04:57:47 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-04-12 04:57:47 +0000 |
| commit | 58cc71b6f5cdb60e548e5f02e276bea4ebb73d58 (patch) | |
| tree | e0b1c330831cc2ccf781aac29c145b49548125b2 /LUFA/CodeTemplates/makefile_template.avr8 | |
| parent | 26ea7f634289e84b8c6336084db9df5052f7a768 (diff) | |
Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1737 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/CodeTemplates/makefile_template.avr8')
| -rw-r--r-- | LUFA/CodeTemplates/makefile_template.avr8 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.avr8 b/LUFA/CodeTemplates/makefile_template.avr8 index be1e6842..106f81cd 100644 --- a/LUFA/CodeTemplates/makefile_template.avr8 +++ b/LUFA/CodeTemplates/makefile_template.avr8 @@ -133,6 +133,7 @@ SRC = $(TARGET).c \ $(LUFA_SRC_USBCLASS)
### INSERT ADDITIONAL PROJECT SOURCE FILENAMES OR LUFA MODULE NAMES HERE ###
+
# List C++ source files here. (C dependencies are automatically generated.)
CPPSRC =
@@ -153,13 +154,6 @@ ASRC = OPT = s
-# Debugging format.
-# Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.
-# AVR Studio 4.10 requires dwarf-2.
-# AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.
-DEBUG = dwarf-2
-
-
# List any extra directories to look for include files here.
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
@@ -172,7 +166,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/ # gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
-CSTANDARD = -std=c99
+CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
@@ -196,10 +190,14 @@ CPPDEFS += -DF_USB=$(F_USB)UL CPPDEFS += -DBOARD=BOARD_$(BOARD)
CPPDEFS += -DARCH=ARCH_$(ARCH)
CPPDEFS += $(LUFA_OPTS)
-#CPPDEFS += -D__STDC_LIMIT_MACROS
-#CPPDEFS += -D__STDC_CONSTANT_MACROS
+# Debugging format.
+# Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.
+# AVR Studio 4.10 requires dwarf-2.
+# AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.
+DEBUG = dwarf-2
+
#---------------- Compiler Options C ----------------
# -g*: generate debugging information
|
