# Target file name (without extension).
-TARGET = adb_usb_lufa
+TARGET ?= adb_usb
# Directory common source filess exist
-TMK_DIR = ../../tmk_core
+TMK_DIR ?= ../../tmk_core
# Directory keyboard dependent files exist
-TARGET_DIR = .
+TARGET_DIR ?= .
# project specific files
-SRC = matrix.c \
+SRC ?= matrix.c \
led.c \
adb.c
# atmega32u4 Teensy2.0
# atemga32u4 TMK Converter rev.1
# atemga32u2 TMK Converter rev.2
-MCU = atmega32u2
+MCU ?= atmega32u2
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
-F_CPU = 16000000
+F_CPU ?= 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
+ARCH ?= AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_USB = $(F_CPU)
+F_USB ?= $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT