summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-03-20 19:05:41 +0100
committerFlorian Jung <flo@windfisch.org>2014-03-20 19:05:41 +0100
commit83605db2fd3e290cf7fff98e50476e92c5c1e987 (patch)
tree905b02e50b25c347f73e160c717597d6ca21e345 /Makefile
parent8dae45f56e21eb65b891589213eae8827c9024ce (diff)
usbconfig
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2bbd104..5f0a6db 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,7 +75,7 @@ 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].
@@ -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 ----------------