From: Reed Swiernik <rswiernik@csh.rit.edu> Date: Wed, 22 Apr 2015 04:45:03 +0000 (-0400) Subject: updated makefile X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bf1987e23311b6ea19899e4d12eec26b02539379;p=qmk_firmware.git updated makefile --- diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile index 3716f0db9..68a4181f9 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