aboutsummaryrefslogtreecommitdiff
path: root/BuildTests/SingleUSBModeTest/makefile.test
blob: 461a4b612d6d1756220e6a884e873c746f867356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
#             LUFA Library
#     Copyright (C) Dean Camera, 2012.
#
#  dean [at] fourwalledcubicle [dot] com
#           www.lufa-lib.org
#
# --------------------------------------
#         LUFA Project Makefile.
# --------------------------------------

MCU          = 
ARCH         = 
BOARD        = NONE
F_CPU        = $(F_USB)

ifeq ($(ARCH), AVR8)
F_USB        = 8000000
else ifeq ($(ARCH), XMEGA)
F_USB        = 48000000
else ifeq ($(ARCH), UC3)
F_USB        = 48000000
endif

OPTIMIZATION = 1
TARGET       = Test
SRC          = Test.c Dummy.S $(LUFA_SRC_USB)
LUFA_PATH    = ../../LUFA/
CC_FLAGS     =
# TODO: Add warnings and set warnings as errors

# Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.sources.in
include $(LUFA_PATH)/Build/lufa.build.in