1
0
Fork 0

updated makefile

This commit is contained in:
Reed Swiernik 2015-04-22 00:45:03 -04:00
parent 71f7713739
commit bf1987e233
1 changed files with 15 additions and 9 deletions

View File

@ -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