X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Finfinity%2FMakefile;h=5b3c1fe6f62ccf5440312450e4e77addcb6a747e;hb=8345571e1df07cdbe612541baa9e4f3441ad3f9e;hp=e33c239afbe08db50e956699fa50e522298a2ca6;hpb=1a02ebcc612e9a9c0d87e02295c7258de3a70ccc;p=max%2Ftmk_keyboard.git diff --git a/keyboard/infinity/Makefile b/keyboard/infinity/Makefile index e33c239a..5b3c1fe6 100644 --- a/keyboard/infinity/Makefile +++ b/keyboard/infinity/Makefile @@ -1,18 +1,14 @@ PROJECT = infinity -TMK_DIR = ../.. -MBED_DIR = $(TMK_DIR)/mbed-sdk +TMK_DIR = ../../tmk_core +MBED_DIR = $(TMK_DIR)/tool/mbed/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) +VPATH += $(TMK_DIR):$(MBED_DIR) OBJDIR = ./build OBJECTS = \ $(OBJDIR)/matrix.o \ - $(OBJDIR)/keymap_common.o \ $(OBJDIR)/led.o \ $(OBJDIR)/main.o @@ -33,9 +29,9 @@ INCLUDE_PATHS = -I. #MOUSEKEY_ENABLE = yes +include $(TMK_DIR)/tool/mbed/common.mk include mbed-infinity.mk include $(TMK_DIR)/tool/mbed/mbed.mk -include $(TMK_DIR)/tool/mbed/common.mk include $(TMK_DIR)/tool/mbed/gcc.mk program: $(OBJDIR)/$(PROJECT).bin