]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/lightsaber/Makefile.pjrc
Merge pull request #216 from DigitalBrains1/modelm101
[max/tmk_keyboard.git] / keyboard / lightsaber / Makefile.pjrc
index 1c5a9710f4c901183fb00eb0188da7069f736a5f..0f6d3994705c062c9a7bdd1a08fc5f7d94f99cb4 100644 (file)
@@ -42,7 +42,7 @@
 TARGET = lightsaber_pjrc
 
 # Directory common source filess exist
-TOP_DIR = ../..
+TMK_DIR = ../../tmk_core
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
@@ -56,12 +56,8 @@ SRC =        keymap.c \
 CONFIG_H = config.h
 
 
-# MCU name, you MUST set this to match the board you are using
-# type "make clean" after changing this, so all files will be rebuilt
-#MCU = at90usb162       # Teensy 1.0
-MCU = atmega32u4       # Teensy 2.0
-#MCU = at90usb646       # Teensy++ 1.0
-#MCU = at90usb1286      # Teensy++ 2.0
+# MCU name
+MCU = atmega32u4
 
 
 # Processor frequency.
@@ -88,14 +84,11 @@ BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
 
 # 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
 
 winkey: OPT_DEFS += -DLAYOUT_WINKEY
 winkey: all
-
-winkeyless: OPT_DEFS += -DLAYOUT_WINKEYLESS
-winkeyless: all