Switch over Demos, Bootloaders and Projects to the new and improved build system.
[pub/lufa.git] / BuildTests / ModuleTest / makefile.avr8
index 360b1ee..8673209 100644 (file)
@@ -154,7 +154,7 @@ ASRC = Dummy.S
 # Optimization level, can be [0, 1, 2, 3, s].\r
 #     0 = turn off optimization. s = optimize for size.\r
 #     (Note: 3 is not always the best optimization level. See avr-libc FAQ.)\r
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # Debugging format.\r
@@ -220,7 +220,7 @@ CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums\r
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -fno-split-wide-types\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 CFLAGS += -Werror\r
@@ -268,7 +268,7 @@ CPPFLAGS += -fshort-enums
 CPPFLAGS += -fno-exceptions\r
 CPPFLAGS += -Wall\r
 CPPFLAGS += -Wundef\r
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 \r
 \r
@@ -281,7 +281,8 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
 #             files -- see avr-libc docs [FIXME: not yet described there]\r
 #  -listing-cont-lines: Sets the maximum number of continuation lines of hex\r
 #       dump that will be displayed for a given single line of source input.\r
-ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100\r
+ASFLAGS = $(ADEFS)\r
+#ASFLAGS += -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100\r
 \r
 \r
 #---------------- Library Options ----------------\r
@@ -338,7 +339,7 @@ EXTMEMOPTS =
 #  -Wl,...:     tell GCC to pass this to linker.\r
 #    -Map:      create map file\r
 #    --cref:    add cross reference to  map file\r
-LDFLAGS  = -Wl,-Map=$(TARGET).map,--cref\r
+#LDFLAGS  = -Wl,-Map=$(TARGET).map,--cref\r
 LDFLAGS += -Wl,--relax\r
 LDFLAGS += -Wl,--gc-sections\r
 LDFLAGS += $(EXTMEMOPTS)\r
@@ -462,7 +463,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
 \r
 \r
 # Compiler flags to generate dependency files.\r
-GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d\r
+#GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d\r
 \r
 \r
 # Combine all necessary flags and optional flags.\r
@@ -708,7 +709,7 @@ clean_list :
 \r
 doxygen:\r
        @echo Generating Project Documentation \($(TARGET)\)...\r
-       @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \\r
+       @if ( ( cat Doxygen.conf ; echo "HTML_STYLESHEET=$(LUFA_PATH)/LUFA/DoxygenPages/Style/Style.css" ) | doxygen - 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \\r
          exit 1; \\r
        fi;\r
        @echo Documentation Generation Complete.\r