1 # Hey Emacs, this is a -*- makefile -*-
2 #----------------------------------------------------------------------------
3 # WinAVR Makefile Template written by Eric B. Weddington, Jörg Wunsch, et al.
5 # Released to the Public Domain
7 # Additional material for this makefile was written by:
17 #----------------------------------------------------------------------------
20 # make all = Make software.
22 # make clean = Clean out built project files.
24 # make coff = Convert ELF to AVR COFF.
26 # make extcoff = Convert ELF to AVR Extended COFF.
28 # make program = Download the hex file to the device, using avrdude.
29 # Please customize the avrdude settings below first!
31 # make debug = Start either simulavr or avarice as specified for debugging,
32 # with avr-gdb or avr-insight as the front end for debugging.
34 # make filename.s = Just compile filename.c into the assembler code only.
36 # make filename.i = Create a preprocessed source file for use in submitting
37 # bug reports to the GCC project.
39 # To rebuild project do "make clean" then "make all".
40 #----------------------------------------------------------------------------
42 # Target file name (without extension).
45 # Directory common source filess exist
48 # Directory keyboard dependent files exist
51 # keyboard dependent files
52 TARGET_SRC = keymap.c \
56 # MCU name, you MUST set this to match the board you are using
57 # type "make clean" after changing this, so all files will be rebuilt
58 #MCU = at90usb162 # Teensy 1.0
59 MCU = atmega32u4 # Teensy 2.0
60 #MCU = at90usb646 # Teensy++ 1.0
61 #MCU = at90usb1286 # Teensy++ 2.0
64 # Processor frequency.
65 # Normally the first thing your program should do is set the clock prescaler,
66 # so your program will run at the correct speed. You should also set this
67 # variable to same clock speed. The _delay_ms() macro uses this, and many
68 # examples use this variable to calculate timings. Do not add a "UL" here.
73 # comment out to disable the options.
75 MOUSEKEY_ENABLE = yes # Mouse keys
76 PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
77 USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control)
78 #USB_NKRO_ENABLE = yes # USB Nkey Rollover
81 include $(COMMON_DIR)/Makefile.common