summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorReed Swiernik <rswiernik@csh.rit.edu>2015-04-22 00:45:03 -0400
committerReed Swiernik <rswiernik@csh.rit.edu>2015-04-25 12:16:51 -0400
commitbf1987e23311b6ea19899e4d12eec26b02539379 (patch)
treebd9448e6494aed595b61c7472c2baeac23f685b6 /keyboard/planck/Makefile
parent71f7713739662b643763ca7369773594bfe00d66 (diff)
updated makefile
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 3716f0db92..68a4181f9a 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -48,18 +48,22 @@ TOP_DIR = ../..
TARGET_DIR = .
# # project specific files
-# SRC = keymap_common.c \
-# matrix_handwire.c \
-# led.c \
-# backlight.c
+ifdef COMMON
+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
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap_jack.c $(SRC)
+endif
+
+else
# project specific files
+
SRC = extended_keymap_common.c \
matrix_handwire.c \
led.c \
@@ -71,6 +75,8 @@ else
SRC := extended_keymap_jack.c $(SRC)
endif
+endif
+
CONFIG_H = config.h
# MCU name