31 lines
546 B
Makefile
31 lines
546 B
Makefile
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 = \
|
|
$(OBJDIR)/main.o
|
|
|
|
CONFIG_H = config.h
|
|
|
|
INCLUDE_PATHS = -I.
|
|
|
|
|
|
# Build Options
|
|
# Comment out to disable
|
|
#BOOTMAGIC_ENABLE = yes
|
|
#MOUSEKEY_ENABLE = yes
|
|
|
|
|
|
include $(TMK_DIR)/tool/mbed/mk20d50m.mk
|
|
include $(TMK_DIR)/tool/mbed/mbed.mk
|
|
include $(TMK_DIR)/tool/mbed/common.mk
|
|
include $(TMK_DIR)/tool/mbed/gcc.mk
|