From ef0613fc6a5eef89df1cff5c695e1ccf844359f9 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 20 Mar 2014 17:44:06 +0100 Subject: initial experiments --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2bbd104..782f5fb 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ OBJDIR = obj # List C source files here. (C dependencies are automatically generated.) -SRC = $(TARGET).c +SRC = $(TARGET).c usbdrv/usbdrv.c usbdrv/oddebug.c # List C++ source files here. (C dependencies are automatically generated.) @@ -75,13 +75,13 @@ CPPSRC = # Even though the DOS/Win* filesystem matches both .s and .S the same, # it will preserve the spelling of the filenames, and gcc itself does # care about how the name is spelled on its command-line. -ASRC = +ASRC = usbdrv/usbdrvasm.S # Optimization level, can be [0, 1, 2, 3, s]. # 0 = turn off optimization. s = optimize for size. # (Note: 3 is not always the best optimization level. See avr-libc FAQ.) -OPT = 2 +OPT = s # Debugging format. @@ -180,7 +180,7 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) # for use in COFF files, additional information about filenames # and function names needs to be present in the assembler source # files -- see avr-libc docs [FIXME: not yet described there] -ASFLAGS = -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs +ASFLAGS = -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs $(CDEFS) #---------------- Library Options ---------------- -- cgit v1.2.3