summaryrefslogtreecommitdiff
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-04-25 12:50:56 -0400
committerJack Humbert <jack.humb@gmail.com>2015-04-25 12:50:56 -0400
commit61b4d273daa43ba27846fd67d3e11091d2874513 (patch)
treec6a86b832e015fd974403de9c6a3d4b5fcc0dc90 /keyboard/planck/Makefile
parent71f7713739662b643763ca7369773594bfe00d66 (diff)
parenteadb08b113e26468a7915d1ea60a3f166527c3b0 (diff)
Merge pull request #13 from rswiernik/master
Updated Readme and Build info
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile33
1 files changed, 20 insertions, 13 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 3716f0db92..ef11e3d32b 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -47,20 +47,25 @@ TOP_DIR = ../..
# Directory keyboard dependent files exist
TARGET_DIR = .
+
+
# # project specific files
-# SRC = keymap_common.c \
-# matrix_handwire.c \
-# led.c \
-# backlight.c
-
-# ifdef KEYMAP
-# SRC := keymap_$(KEYMAP).c $(SRC)
-# else
-# SRC := keymap_jack.c $(SRC)
-# endif
-
-# project specific files
-SRC = extended_keymap_common.c \
+ifdef COMMON_KEYMAP
+
+ SRC = keymap_common.c \
+ matrix_handwire.c \
+ led.c \
+ backlight.c
+
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap_jack.c $(SRC)
+endif
+
+else
+
+SRC = extended_keymap_common.c \
matrix_handwire.c \
led.c \
backlight.c
@@ -71,6 +76,8 @@ else
SRC := extended_keymap_jack.c $(SRC)
endif
+endif
+
CONFIG_H = config.h
# MCU name