]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/macway/Makefile.pjrc
Merge branch 'report_descriptor_fix'
[max/tmk_keyboard.git] / keyboard / macway / Makefile.pjrc
index d2fb8ff2f6f67edf54812631aff1fef8005b7da1..6ee25b61af2ea9302ae311323efdd0a7f2d6f57b 100644 (file)
 TARGET = macway_pjrc
 
 # Directory common source filess exist
-TOP_DIR = ../..
+TMK_DIR = ../../tmk_core
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
 # keyboard dependent files
-SRC =  protocol/pjrc/main.c \
-       keymap.c \
+SRC =  keymap.c \
        matrix.c \
        led.c
 
@@ -75,9 +74,11 @@ F_CPU = 16000000
 # Build Options
 #   comment out to disable the options.
 #
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
 MOUSEKEY_ENABLE = yes  # Mouse keys
 #PS2_MOUSE_ENABLE = yes        # PS/2 mouse(TrackPoint) support
 EXTRAKEY_ENABLE = yes  # Audio control and System control
+COMMAND_ENABLE = yes    # Commands for debug and configuration
 #NKRO_ENABLE = yes     # USB Nkey Rollover
 
 
@@ -89,8 +90,8 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
 
 # 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