2014-06-19 07:13:35 +00:00
|
|
|
PROJECT = ps2_usb
|
|
|
|
|
2015-04-09 16:53:24 +00:00
|
|
|
TMK_DIR = ../../tmk_core
|
2015-07-11 21:24:39 +00:00
|
|
|
MBED_DIR = $(TMK_DIR)/tool/mbed/mbed-sdk
|
2014-06-19 07:13:35 +00:00
|
|
|
|
2016-02-19 05:40:33 +00:00
|
|
|
VPATH += $(TMK_DIR):$(MBED_DIR)
|
2014-06-19 07:13:35 +00:00
|
|
|
|
|
|
|
OBJDIR = ./build
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
$(OBJDIR)/protocol/ps2_busywait.o \
|
|
|
|
$(OBJDIR)/protocol/ps2_io_mbed.o \
|
|
|
|
$(OBJDIR)/./keymap_common.o \
|
|
|
|
$(OBJDIR)/./matrix.o \
|
|
|
|
$(OBJDIR)/./led.o \
|
|
|
|
$(OBJDIR)/./main.o
|
|
|
|
|
|
|
|
ifdef KEYMAP
|
|
|
|
OBJECTS := $(OBJDIR)/keymap_$(KEYMAP).o $(OBJECTS)
|
|
|
|
else
|
|
|
|
OBJECTS := $(OBJDIR)/keymap_plain.o $(OBJECTS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONFIG_H = config_mbed.h
|
|
|
|
|
|
|
|
SYS_OBJECTS =
|
|
|
|
|
|
|
|
INCLUDE_PATHS = -I.
|
|
|
|
|
|
|
|
LIBRARY_PATHS =
|
|
|
|
LIBRARIES =
|
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# Comment out to disable
|
|
|
|
#BOOTMAGIC_ENABLE = yes
|
|
|
|
MOUSEKEY_ENABLE = yes
|
|
|
|
|
|
|
|
|
2016-02-19 05:40:33 +00:00
|
|
|
include $(TMK_DIR)/tool/mbed/common.mk
|
2014-12-14 04:59:22 +00:00
|
|
|
#include $(TMK_DIR)/tool/mbed/mk20d50m.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/lpc11u35_501.mk
|
2014-06-19 07:13:35 +00:00
|
|
|
include $(TMK_DIR)/tool/mbed/mbed.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/gcc.mk
|