opensteno_qmk/quantum.mk

31 lines
579 B
Makefile
Raw Normal View History

2015-10-27 00:02:25 +00:00
QUANTUM_DIR = quantum
2015-10-26 18:49:46 +00:00
# # project specific files
SRC += $(QUANTUM_DIR)/keymap_common.c \
$(QUANTUM_DIR)/led.c
2015-10-26 20:32:37 +00:00
ifndef CUSTOM_MATRIX
SRC += $(QUANTUM_DIR)/matrix.c
endif
2015-10-26 18:49:46 +00:00
ifdef MIDI_ENABLE
SRC += $(QUANTUM_DIR)/keymap_midi.c \
$(QUANTUM_DIR)/beeps.c
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 00:02:25 +00:00
VPATH += $(TOP_DIR)/$(QUANTUM_DIR)
2015-10-26 18:49:46 +00:00
include $(TOP_DIR)/protocol/lufa.mk
include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk