2016-08-01 06:23:37 +00:00
|
|
|
ifndef VERBOSE
|
|
|
|
.SILENT:
|
|
|
|
endif
|
|
|
|
|
|
|
|
.DEFAULT_GOAL := all
|
|
|
|
|
2016-08-21 14:14:38 +00:00
|
|
|
include common.mk
|
2016-08-21 10:53:36 +00:00
|
|
|
|
|
|
|
ifneq ($(SUBPROJECT),)
|
2017-04-12 06:52:40 +00:00
|
|
|
TARGET ?= $(KEYBOARD)_$(SUBPROJECT)_$(KEYMAP)
|
|
|
|
KEYBOARD_OUTPUT := $(BUILD_DIR)/obj_$(KEYBOARD)_$(SUBPROJECT)
|
2016-08-21 10:53:36 +00:00
|
|
|
else
|
2017-04-12 06:52:40 +00:00
|
|
|
TARGET ?= $(KEYBOARD)_$(KEYMAP)
|
|
|
|
KEYBOARD_OUTPUT := $(BUILD_DIR)/obj_$(KEYBOARD)
|
2016-08-21 10:53:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Force expansion
|
|
|
|
TARGET := $(TARGET)
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
|
|
|
|
MASTER ?= left
|
|
|
|
ifdef master
|
2017-04-12 06:52:40 +00:00
|
|
|
MASTER = $(master)
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2017-02-26 05:13:47 +00:00
|
|
|
ifeq ($(MASTER),right)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DMASTER_IS_ON_RIGHT
|
2017-02-26 05:13:47 +00:00
|
|
|
else
|
2017-04-12 06:52:40 +00:00
|
|
|
ifneq ($(MASTER),left)
|
2016-08-27 10:43:12 +00:00
|
|
|
$(error MASTER does not have a valid value(left/right))
|
2017-04-12 06:52:40 +00:00
|
|
|
endif
|
2016-08-27 10:43:12 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-08-08 07:26:23 +00:00
|
|
|
KEYBOARD_PATH := keyboards/$(KEYBOARD)
|
|
|
|
KEYBOARD_C := $(KEYBOARD_PATH)/$(KEYBOARD).c
|
2016-08-01 06:23:37 +00:00
|
|
|
|
2016-08-08 07:26:23 +00:00
|
|
|
ifneq ("$(wildcard $(KEYBOARD_C))","")
|
|
|
|
include $(KEYBOARD_PATH)/rules.mk
|
2017-02-26 05:13:47 +00:00
|
|
|
else
|
2016-08-08 07:26:23 +00:00
|
|
|
$(error "$(KEYBOARD_C)" does not exist)
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(SUBPROJECT),)
|
|
|
|
SUBPROJECT_PATH := keyboards/$(KEYBOARD)/$(SUBPROJECT)
|
|
|
|
SUBPROJECT_C := $(SUBPROJECT_PATH)/$(SUBPROJECT).c
|
|
|
|
ifneq ("$(wildcard $(SUBPROJECT_C))","")
|
|
|
|
OPT_DEFS += -DSUBPROJECT_$(SUBPROJECT)
|
|
|
|
include $(SUBPROJECT_PATH)/rules.mk
|
2017-02-26 05:13:47 +00:00
|
|
|
else
|
2016-08-08 07:26:23 +00:00
|
|
|
$(error "$(SUBPROJECT_PATH)/$(SUBPROJECT).c" does not exist)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2016-08-15 05:45:36 +00:00
|
|
|
# We can assume a ChibiOS target When MCU_FAMILY is defined, since it's not used for LUFA
|
|
|
|
ifdef MCU_FAMILY
|
2017-04-12 06:52:40 +00:00
|
|
|
PLATFORM=CHIBIOS
|
2016-08-15 05:45:36 +00:00
|
|
|
else
|
2017-04-12 06:52:40 +00:00
|
|
|
PLATFORM=AVR
|
2016-08-15 05:45:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),CHIBIOS)
|
2017-04-12 06:52:40 +00:00
|
|
|
include $(TMK_PATH)/protocol/chibios.mk
|
|
|
|
include $(TMK_PATH)/chibios.mk
|
|
|
|
OPT_OS = chibios
|
|
|
|
ifneq ("$(wildcard $(SUBPROJECT_PATH)/bootloader_defs.h)","")
|
|
|
|
OPT_DEFS += -include $(SUBPROJECT_PATH)/bootloader_defs.h
|
|
|
|
else ifneq ("$(wildcard $(SUBPROJECT_PATH)/boards/$(BOARD)/bootloader_defs.h)","")
|
|
|
|
OPT_DEFS += -include $(SUBPROJECT_PATH)/boards/$(BOARD)/bootloader_defs.h
|
|
|
|
else ifneq ("$(wildcard $(KEYBOARD_PATH)/bootloader_defs.h)","")
|
|
|
|
OPT_DEFS += -include $(KEYBOARD_PATH)/bootloader_defs.h
|
|
|
|
else ifneq ("$(wildcard $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h)","")
|
|
|
|
OPT_DEFS += -include $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h
|
|
|
|
endif
|
2016-08-15 05:45:36 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-15 05:58:05 +00:00
|
|
|
CONFIG_H = $(KEYBOARD_PATH)/config.h
|
|
|
|
ifneq ($(SUBPROJECT),)
|
2017-04-12 06:52:40 +00:00
|
|
|
ifneq ("$(wildcard $(SUBPROJECT_C))","")
|
|
|
|
CONFIG_H = $(SUBPROJECT_PATH)/config.h
|
|
|
|
endif
|
2016-08-15 05:58:05 +00:00
|
|
|
endif
|
|
|
|
|
2017-02-26 05:13:47 +00:00
|
|
|
# Save the defines and includes here, so we don't include any keymap specific ones
|
2016-08-15 05:20:16 +00:00
|
|
|
PROJECT_DEFS := $(OPT_DEFS)
|
2016-08-15 05:45:36 +00:00
|
|
|
PROJECT_INC := $(VPATH) $(EXTRAINCDIRS) $(SUBPROJECT_PATH) $(KEYBOARD_PATH)
|
2016-08-15 05:58:05 +00:00
|
|
|
PROJECT_CONFIG := $(CONFIG_H)
|
2016-08-15 05:20:16 +00:00
|
|
|
|
2016-08-08 07:26:23 +00:00
|
|
|
MAIN_KEYMAP_PATH := $(KEYBOARD_PATH)/keymaps/$(KEYMAP)
|
|
|
|
MAIN_KEYMAP_C := $(MAIN_KEYMAP_PATH)/keymap.c
|
|
|
|
SUBPROJ_KEYMAP_PATH := $(SUBPROJECT_PATH)/keymaps/$(KEYMAP)
|
|
|
|
SUBPROJ_KEYMAP_C := $(SUBPROJ_KEYMAP_PATH)/keymap.c
|
|
|
|
ifneq ("$(wildcard $(SUBPROJ_KEYMAP_C))","")
|
|
|
|
-include $(SUBPROJ_KEYMAP_PATH)/Makefile
|
|
|
|
KEYMAP_C := $(SUBPROJ_KEYMAP_C)
|
|
|
|
KEYMAP_PATH := $(SUBPROJ_KEYMAP_PATH)
|
|
|
|
else ifneq ("$(wildcard $(MAIN_KEYMAP_C))","")
|
|
|
|
-include $(MAIN_KEYMAP_PATH)/Makefile
|
|
|
|
KEYMAP_C := $(MAIN_KEYMAP_C)
|
|
|
|
KEYMAP_PATH := $(MAIN_KEYMAP_PATH)
|
|
|
|
else
|
|
|
|
$(error "$(MAIN_KEYMAP_C)/keymap.c" does not exist)
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Object files directory
|
|
|
|
# To put object files in current directory, use a dot (.), do NOT make
|
|
|
|
# this an empty or blank macro!
|
2016-08-15 05:20:16 +00:00
|
|
|
KEYMAP_OUTPUT := $(BUILD_DIR)/obj_$(TARGET)
|
2016-08-01 06:23:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
ifneq ("$(wildcard $(KEYMAP_PATH)/config.h)","")
|
2017-04-12 06:52:40 +00:00
|
|
|
CONFIG_H = $(KEYMAP_PATH)/config.h
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
# # project specific files
|
2016-08-08 07:26:23 +00:00
|
|
|
SRC += $(KEYBOARD_C) \
|
2017-04-12 06:52:40 +00:00
|
|
|
$(KEYMAP_C) \
|
|
|
|
$(QUANTUM_DIR)/quantum.c \
|
|
|
|
$(QUANTUM_DIR)/keymap_common.c \
|
|
|
|
$(QUANTUM_DIR)/keycode_config.c \
|
|
|
|
$(QUANTUM_DIR)/process_keycode/process_leader.c
|
2016-08-01 06:23:37 +00:00
|
|
|
|
2016-08-08 07:26:23 +00:00
|
|
|
ifneq ($(SUBPROJECT),)
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(SUBPROJECT_C)
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef CUSTOM_MATRIX
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/matrix.c
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-11-26 20:37:46 +00:00
|
|
|
ifeq ($(strip $(API_SYSEX_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DAPI_SYSEX_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/api/api_sysex.c
|
|
|
|
OPT_DEFS += -DAPI_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/api.c
|
2016-11-26 20:37:46 +00:00
|
|
|
MIDI_ENABLE=yes
|
|
|
|
endif
|
|
|
|
|
2017-02-26 05:13:47 +00:00
|
|
|
MUSIC_ENABLE := 0
|
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DAUDIO_ENABLE
|
|
|
|
MUSIC_ENABLE := 1
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_audio.c
|
|
|
|
SRC += $(QUANTUM_DIR)/audio/audio.c
|
|
|
|
SRC += $(QUANTUM_DIR)/audio/voices.c
|
|
|
|
SRC += $(QUANTUM_DIR)/audio/luts.c
|
2017-02-26 05:13:47 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
ifeq ($(strip $(MIDI_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DMIDI_ENABLE
|
2017-04-12 06:52:40 +00:00
|
|
|
MUSIC_ENABLE := 1
|
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_midi.c
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2017-02-26 05:13:47 +00:00
|
|
|
ifeq ($(MUSIC_ENABLE), 1)
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_music.c
|
2017-02-26 05:13:47 +00:00
|
|
|
endif
|
|
|
|
|
2016-12-09 22:49:11 +00:00
|
|
|
ifeq ($(strip $(COMBO_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DCOMBO_ENABLE
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_combo.c
|
2016-12-09 22:49:11 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-24 07:37:02 +00:00
|
|
|
ifeq ($(strip $(VIRTSER_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DVIRTSER_ENABLE
|
|
|
|
endif
|
|
|
|
|
2017-02-13 01:03:07 +00:00
|
|
|
ifeq ($(strip $(FAUXCLICKY_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DFAUXCLICKY_ENABLE
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/fauxclicky.c
|
2017-02-13 01:03:07 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-29 09:30:38 +00:00
|
|
|
ifeq ($(strip $(UCIS_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DUCIS_ENABLE
|
2017-04-13 12:58:58 +00:00
|
|
|
UNICODE_COMMON = yes
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_ucis.c
|
2016-08-29 09:30:38 +00:00
|
|
|
endif
|
|
|
|
|
2016-10-09 17:46:20 +00:00
|
|
|
ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DUNICODEMAP_ENABLE
|
2017-04-13 12:58:58 +00:00
|
|
|
UNICODE_COMMON = yes
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_unicodemap.c
|
2016-10-09 17:46:20 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
ifeq ($(strip $(UNICODE_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DUNICODE_ENABLE
|
2017-04-13 12:58:58 +00:00
|
|
|
UNICODE_COMMON = yes
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2017-04-13 12:58:58 +00:00
|
|
|
ifeq ($(strip $(UNICODE_COMMON)), yes)
|
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_unicode_common.c
|
|
|
|
endif
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DRGBLIGHT_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/rgblight.c
|
2017-04-01 14:43:38 +00:00
|
|
|
CIE1931_CURVE = yes
|
|
|
|
LED_BREATHING_TABLE = yes
|
2017-07-04 15:12:42 +00:00
|
|
|
ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes)
|
|
|
|
OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER
|
|
|
|
else
|
|
|
|
SRC += $(QUANTUM_DIR)/light_ws2812.c
|
|
|
|
endif
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DTAP_DANCE_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-10-16 20:03:33 +00:00
|
|
|
ifeq ($(strip $(PRINTING_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DPRINTING_ENABLE
|
|
|
|
SRC += $(QUANTUM_DIR)/process_keycode/process_printer.c
|
|
|
|
SRC += $(TMK_DIR)/protocol/serial_uart.c
|
2016-10-16 20:03:33 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(patsubst $(QUANTUM_PATH)/%,%,$(SERIAL_SRC))
|
|
|
|
OPT_DEFS += $(SERIAL_DEFS)
|
|
|
|
VAPTH += $(SERIAL_PATH)
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-11-06 20:11:24 +00:00
|
|
|
ifneq ($(strip $(VARIABLE_TRACE)),)
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/variable_trace.c
|
|
|
|
OPT_DEFS += -DNUM_TRACED_VARIABLES=$(strip $(VARIABLE_TRACE))
|
2016-11-06 20:11:24 +00:00
|
|
|
ifneq ($(strip $(MAX_VARIABLE_TRACE_SIZE)),)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DMAX_VARIABLE_TRACE_SIZE=$(strip $(MAX_VARIABLE_TRACE_SIZE))
|
2016-11-06 20:11:24 +00:00
|
|
|
endif
|
|
|
|
endif
|
2016-11-06 19:57:26 +00:00
|
|
|
|
2017-04-01 14:43:38 +00:00
|
|
|
ifeq ($(strip $(LCD_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
CIE1931_CURVE = yes
|
2017-04-01 14:43:38 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(LED_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
CIE1931_CURVE = yes
|
2017-04-01 14:43:38 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(CIE1931_CURVE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DUSE_CIE1931_CURVE
|
|
|
|
LED_TABLES = yes
|
2017-04-01 14:43:38 +00:00
|
|
|
endif
|
2017-04-12 06:52:40 +00:00
|
|
|
|
2017-04-01 14:43:38 +00:00
|
|
|
ifeq ($(strip $(LED_BREATHING_TABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
OPT_DEFS += -DUSE_LED_BREATHING_TABLE
|
|
|
|
LED_TABLES = yes
|
2017-04-01 14:43:38 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(LED_TABLES)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
SRC += $(QUANTUM_DIR)/led_tables.c
|
2017-04-01 14:43:38 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
|
|
|
|
# Search Path
|
|
|
|
VPATH += $(KEYMAP_PATH)
|
2016-08-08 07:26:23 +00:00
|
|
|
ifneq ($(SUBPROJECT),)
|
2017-04-12 06:52:40 +00:00
|
|
|
VPATH += $(SUBPROJECT_PATH)
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
VPATH += $(KEYBOARD_PATH)
|
2016-08-27 10:43:12 +00:00
|
|
|
VPATH += $(COMMON_VPATH)
|
2016-08-01 06:23:37 +00:00
|
|
|
|
2016-11-25 07:15:12 +00:00
|
|
|
include $(TMK_PATH)/protocol.mk
|
2016-08-01 06:23:37 +00:00
|
|
|
|
|
|
|
include $(TMK_PATH)/common.mk
|
2016-08-27 10:43:12 +00:00
|
|
|
SRC += $(TMK_COMMON_SRC)
|
|
|
|
OPT_DEFS += $(TMK_COMMON_DEFS)
|
|
|
|
EXTRALDFLAGS += $(TMK_COMMON_LDFLAGS)
|
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
ifeq ($(PLATFORM),AVR)
|
2017-01-21 17:30:06 +00:00
|
|
|
ifeq ($(strip $(PROTOCOL)), VUSB)
|
2017-04-12 06:52:40 +00:00
|
|
|
include $(TMK_PATH)/protocol/vusb.mk
|
2017-01-21 17:30:06 +00:00
|
|
|
else
|
2017-04-12 06:52:40 +00:00
|
|
|
include $(TMK_PATH)/protocol/lufa.mk
|
2017-01-21 17:30:06 +00:00
|
|
|
endif
|
2017-04-12 06:52:40 +00:00
|
|
|
include $(TMK_PATH)/avr.mk
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
|
2017-04-12 06:52:40 +00:00
|
|
|
VISUALIZER_DIR = $(QUANTUM_DIR)/visualizer
|
|
|
|
VISUALIZER_PATH = $(QUANTUM_PATH)/visualizer
|
|
|
|
include $(VISUALIZER_PATH)/visualizer.mk
|
2016-08-01 06:23:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-15 05:20:16 +00:00
|
|
|
OUTPUTS := $(KEYMAP_OUTPUT) $(KEYBOARD_OUTPUT)
|
|
|
|
$(KEYMAP_OUTPUT)_SRC := $(SRC)
|
2016-08-28 20:25:39 +00:00
|
|
|
$(KEYMAP_OUTPUT)_DEFS := $(OPT_DEFS) $(GFXDEFS) -DQMK_KEYBOARD=\"$(KEYBOARD)\" -DQMK_KEYMAP=\"$(KEYMAP)\"
|
2016-08-27 10:43:12 +00:00
|
|
|
$(KEYMAP_OUTPUT)_INC := $(VPATH) $(EXTRAINCDIRS)
|
2016-08-15 05:58:05 +00:00
|
|
|
$(KEYMAP_OUTPUT)_CONFIG := $(CONFIG_H)
|
2016-08-28 20:25:39 +00:00
|
|
|
$(KEYBOARD_OUTPUT)_SRC := $(CHIBISRC) $(GFXSRC)
|
|
|
|
$(KEYBOARD_OUTPUT)_DEFS := $(PROJECT_DEFS) $(GFXDEFS)
|
|
|
|
$(KEYBOARD_OUTPUT)_INC := $(PROJECT_INC) $(GFXINC)
|
2016-08-15 05:58:05 +00:00
|
|
|
$(KEYBOARD_OUTPUT)_CONFIG := $(PROJECT_CONFIG)
|
2016-08-15 05:20:16 +00:00
|
|
|
|
2016-08-22 06:16:08 +00:00
|
|
|
# Default target.
|
|
|
|
all: build sizeafter
|
|
|
|
|
|
|
|
# Change the build target to build a HEX file or a library.
|
|
|
|
build: elf hex
|
|
|
|
#build: elf hex eep lss sym
|
|
|
|
#build: lib
|
|
|
|
|
2016-08-15 05:20:16 +00:00
|
|
|
|
2016-08-01 06:23:37 +00:00
|
|
|
include $(TMK_PATH)/rules.mk
|
|
|
|
|