2015-04-09 16:32:04 +00:00
OBJECTS += \
$( OBJDIR) /common/action.o \
$( OBJDIR) /common/action_tapping.o \
$( OBJDIR) /common/action_macro.o \
$( OBJDIR) /common/action_layer.o \
$( OBJDIR) /common/action_util.o \
$( OBJDIR) /common/host.o \
$( OBJDIR) /common/keymap.o \
$( OBJDIR) /common/keyboard.o \
$( OBJDIR) /common/print.o \
$( OBJDIR) /common/debug.o \
$( OBJDIR) /common/util.o \
2016-04-21 05:35:48 +00:00
$( OBJDIR) /common/hook.o \
2015-04-09 16:32:04 +00:00
$( OBJDIR) /common/mbed/suspend.o \
$( OBJDIR) /common/mbed/timer.o \
$( OBJDIR) /common/mbed/xprintf.o \
$( OBJDIR) /common/mbed/bootloader.o \
INCLUDE_PATHS += \
-I$( TMK_DIR) /common \
-I$( TMK_DIR) /protocol
CC_FLAGS += -include $( CONFIG_H)
# Option modules
i f d e f B O O T M A G I C _ E N A B L E
$( error Not Supported)
OBJECTS += $( OBJDIR) /common/bootmagic.o
OBJECTS += $( OBJDIR) /common/mbed/eeprom.o
OPT_DEFS += -DBOOTMAGIC_ENABLE
e n d i f
i f d e f M O U S E K E Y _ E N A B L E
OBJECTS += $( OBJDIR) /common/mousekey.o
OPT_DEFS += -DMOUSEKEY_ENABLE
OPT_DEFS += -DMOUSE_ENABLE
e n d i f
i f d e f E X T R A K E Y _ E N A B L E
$( error Not Supported)
OPT_DEFS += -DEXTRAKEY_ENABLE
e n d i f
i f d e f C O N S O L E _ E N A B L E
$( error Not Supported)
OPT_DEFS += -DCONSOLE_ENABLE
e l s e
OPT_DEFS += -DNO_PRINT
OPT_DEFS += -DNO_DEBUG
e n d i f
i f d e f C O M M A N D _ E N A B L E
$( error Not Supported)
SRC += common/command.c
OPT_DEFS += -DCOMMAND_ENABLE
e n d i f
i f d e f N K R O _ E N A B L E
$( error Not Supported)
OPT_DEFS += -DNKRO_ENABLE
e n d i f
i f d e f S L E E P _ L E D _ E N A B L E
$( error Not Supported)
2016-02-11 03:21:21 +00:00
SRC += common/mbed/sleep_led.c
2015-04-09 16:32:04 +00:00
OPT_DEFS += -DSLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
e n d i f
i f d e f B A C K L I G H T _ E N A B L E
$( error Not Supported)
SRC += common/backlight.c
OPT_DEFS += -DBACKLIGHT_ENABLE
e n d i f
i f d e f K E Y M A P _ S E C T I O N _ E N A B L E
$( error Not Supported)
OPT_DEFS += -DKEYMAP_SECTION_ENABLE
EXTRALDFLAGS = -Wl,-L$( TMK_DIR) ,-Tldscript_keymap_avr5.x
e n d i f