/elec/audio-switcher

To get this branch, use:
bzr branch http://bzr.ed.am/elec/audio-switcher
1 by Tim Marston
initial commit
1
#
7 by Tim Marston
cleaned up project
2
#  AUDIO SWITCHER
3
#
4
#  Based on a serial device demonstration from the LUFA project
5
#  (www.lufa-lib.org).  LUFA is Copyright (C) Dean Camera, 2012.
6
#
7
#  Changes made to the serial device demonstration program are
8
#  Copyright (C) Tim Marston, 2012.
9
#
10
#  For more information:
11
#    * see README, or
12
#    * visit http://ed.am/
13
#
1 by Tim Marston
initial commit
14
15
MCU          = at90usb162
16
ARCH         = AVR8
17
BOARD        = MINIMUS
18
F_CPU        = 16000000
19
F_USB        = $(F_CPU)
20
OPTIMIZATION = s
21
TARGET       = VirtualSerial
3 by Tim Marston
added timer utilities (wiring.c) from arduino library
22
SRC          = $(TARGET).c Descriptors.c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS) \
23
				wiring.c
1 by Tim Marston
initial commit
24
LUFA_PATH    = ../LUFA/LUFA
25
CC_FLAGS     = -DUSE_LUFA_CONFIG_HEADER -IConfig/
26
LD_FLAGS     =
27
28
# Default target
29
all:
30
31
# Include LUFA build script makefiles
32
include $(LUFA_PATH)/Build/lufa_core.mk
33
include $(LUFA_PATH)/Build/lufa_sources.mk
34
include $(LUFA_PATH)/Build/lufa_build.mk
35
include $(LUFA_PATH)/Build/lufa_cppcheck.mk
36
include $(LUFA_PATH)/Build/lufa_doxygen.mk
37
include $(LUFA_PATH)/Build/lufa_dfu.mk
38
include $(LUFA_PATH)/Build/lufa_hid.mk
39
include $(LUFA_PATH)/Build/lufa_avrdude.mk
40
include $(LUFA_PATH)/Build/lufa_atprogram.mk