X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fphantom%2FMakefile.pjrc;h=7bf5f80f40e461585350d62e069253416d8d4fa5;hb=c61210cfff21f88c25ad102dcd3afe58ce251c96;hp=7c022a03fb8a60603233c9f5f40021c128da74f1;hpb=c852b0412826f53d8598f9577f9da439cb7bd720;p=max%2Ftmk_keyboard.git diff --git a/keyboard/phantom/Makefile.pjrc b/keyboard/phantom/Makefile.pjrc index 7c022a03..7bf5f80f 100644 --- a/keyboard/phantom/Makefile.pjrc +++ b/keyboard/phantom/Makefile.pjrc @@ -42,7 +42,7 @@ TARGET = phantom_pjrc # Directory common source filess exist -TOP_DIR = ../.. +TMK_DIR = ../../tmk_core # Directory keyboard dependent files exist TARGET_DIR = . @@ -86,8 +86,23 @@ COMMAND_ENABLE = yes # Commands for debug and configuration # Search Path VPATH += $(TARGET_DIR) -VPATH += $(TOP_DIR) +VPATH += $(TMK_DIR) -include $(TOP_DIR)/protocol/pjrc.mk -include $(TOP_DIR)/common.mk -include $(TOP_DIR)/rules.mk +include $(TMK_DIR)/protocol/pjrc.mk +include $(TMK_DIR)/common.mk +include $(TMK_DIR)/rules.mk + +ansi: OPT_DEFS += -DLAYOUT_ANSI +ansi: all + +ansi_150: OPT_DEFS += -DLAYOUT_ANSI_150 +ansi_150: all + +iso: OPT_DEFS += -DLAYOUT_ISO +iso: all + +iso_150: OPT_DEFS += -DLAYOUT_ISO_150 +iso_150: all + +7bit: OPT_DEFS += -DLAYOUT_7BIT +7bit: all