This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2015-01-02 12:16:40 +00:00
|
|
|
PROJECT = infinity
|
|
|
|
|
|
|
|
TMK_DIR = ../..
|
|
|
|
MBED_DIR = $(TMK_DIR)/mbed-sdk
|
|
|
|
|
|
|
|
#VPATH += $(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.s .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.c .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.cpp .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
|
|
|
|
OBJDIR = ./build
|
|
|
|
|
|
|
|
OBJECTS = \
|
2015-01-04 08:03:47 +00:00
|
|
|
$(OBJDIR)/matrix.o \
|
|
|
|
$(OBJDIR)/keymap.o \
|
|
|
|
$(OBJDIR)/keymap_common.o \
|
|
|
|
$(OBJDIR)/led.o \
|
2015-01-02 12:16:40 +00:00
|
|
|
$(OBJDIR)/main.o
|
|
|
|
|
|
|
|
CONFIG_H = config.h
|
|
|
|
|
|
|
|
INCLUDE_PATHS = -I.
|
|
|
|
|
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# Comment out to disable
|
|
|
|
#BOOTMAGIC_ENABLE = yes
|
|
|
|
#MOUSEKEY_ENABLE = yes
|
|
|
|
|
|
|
|
|
2015-01-03 18:27:24 +00:00
|
|
|
include mbed-infinity.mk
|
2015-01-02 12:16:40 +00:00
|
|
|
include $(TMK_DIR)/tool/mbed/mbed.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/common.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/gcc.mk
|
2015-01-03 18:27:24 +00:00
|
|
|
|
2015-01-04 08:03:47 +00:00
|
|
|
program: $(OBJDIR)/$(PROJECT).bin
|
2015-01-03 18:27:24 +00:00
|
|
|
dfu-util -D $(OBJDIR)/$(PROJECT).bin
|