1 #----------------------------------------------------------------------------
4 # make all = Make software.
6 # make clean = Clean out built project files.
8 # make coff = Convert ELF to AVR COFF.
10 # make extcoff = Convert ELF to AVR Extended COFF.
12 # make program = Download the hex file to the device.
13 # Please customize your programmer settings(PROGRAM_CMD)
15 # make teensy = Download the hex file to the device, using teensy_loader_cli.
16 # (must have teensy_loader_cli installed).
18 # make dfu = Download the hex file to the device, using dfu-programmer (must
19 # have dfu-programmer installed).
21 # make flip = Download the hex file to the device, using Atmel FLIP (must
22 # have Atmel FLIP installed).
24 # make dfu-ee = Download the eeprom file to the device, using dfu-programmer
25 # (must have dfu-programmer installed).
27 # make flip-ee = Download the eeprom file to the device, using Atmel FLIP
28 # (must have Atmel FLIP installed).
30 # make debug = Start either simulavr or avarice as specified for debugging,
31 # with avr-gdb or avr-insight as the front end for debugging.
33 # make filename.s = Just compile filename.c into the assembler code only.
35 # make filename.i = Create a preprocessed source file for use in submitting
36 # bug reports to the GCC project.
38 # To rebuild project do "make clean" then "make all".
39 #----------------------------------------------------------------------------
43 # # project specific files
44 SRC += $(QUANTUM_DIR)/keymap_common.c \
48 SRC += $(QUANTUM_DIR)/matrix.c
52 SRC += $(QUANTUM_DIR)/keymap_midi.c \
53 $(QUANTUM_DIR)/beeps.c
57 SRC += $(QUANTUM_DIR)/keymap_unicode.c
60 # Optimize size but this may cause error "relocation truncated to fit"
61 #EXTRALDFLAGS = -Wl,--relax
64 VPATH += $(TOP_DIR)/$(QUANTUM_DIR)
66 include $(TOP_DIR)/protocol/lufa.mk
68 include $(TOP_DIR)/common.mk
69 include $(TOP_DIR)/rules.mk