2015-10-27 06:02:25 +06:00
|
|
|
QUANTUM_DIR = quantum
|
2015-10-27 00:49:46 +06:00
|
|
|
|
|
|
|
# # project specific files
|
|
|
|
SRC += $(QUANTUM_DIR)/keymap_common.c \
|
|
|
|
$(QUANTUM_DIR)/led.c
|
|
|
|
|
2015-10-27 02:32:37 +06:00
|
|
|
ifndef CUSTOM_MATRIX
|
|
|
|
SRC += $(QUANTUM_DIR)/matrix.c
|
|
|
|
endif
|
|
|
|
|
2015-10-27 00:49:46 +06:00
|
|
|
ifdef MIDI_ENABLE
|
2016-01-20 11:06:52 +06:00
|
|
|
SRC += $(QUANTUM_DIR)/keymap_midi.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef AUDIO_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/audio.c
|
2015-10-27 00:49:46 +06:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef UNICODE_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/keymap_unicode.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
|
|
|
|
# Search Path
|
2015-10-27 06:02:25 +06:00
|
|
|
VPATH += $(TOP_DIR)/$(QUANTUM_DIR)
|
2015-10-27 00:49:46 +06:00
|
|
|
|
2015-10-27 22:42:30 +06:00
|
|
|
include $(TMK_DIR)/protocol/lufa.mk
|
2015-10-27 00:49:46 +06:00
|
|
|
|
2015-10-27 22:42:30 +06:00
|
|
|
include $(TMK_DIR)/common.mk
|
|
|
|
include $(TMK_DIR)/rules.mk
|
2015-10-27 00:49:46 +06:00
|
|
|
|