summaryrefslogtreecommitdiff
path: root/ats-watch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ats-watch/Makefile')
-rw-r--r--ats-watch/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/ats-watch/Makefile b/ats-watch/Makefile
index 6047864..d6d29a0 100644
--- a/ats-watch/Makefile
+++ b/ats-watch/Makefile
@@ -25,8 +25,9 @@ BOARD_TYPE := teensy2
OBJ := $(NAME).o
LIBS := util led lufa-descriptor-usbserial anyio
EXTERNAL_LIBS := lufa
+SPREADAVR_PATH := ..
-LUFA_PATH := ../contrib/LUFA-120219
+LUFA_PATH := $(SPREADAVR_PATH)/contrib/LUFA-120219
LUFA_OPTS = -D USB_DEVICE_ONLY
LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
LUFA_OPTS += -D ORDERED_EP_CONFIG
@@ -41,4 +42,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"ats-watch\"" -D USB_PRODUCT_LEN=9
LUFA_COMPONENTS := USB USBCLASS SERIAL
-include ../include.mk
+include $(SPREADAVR_PATH)/include.mk