diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-02-24 16:23:53 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-02-24 19:18:26 (GMT) |
commit | e9d82162ae944d56a2dee6aed4b38dd9f65b30f4 (patch) | |
tree | 12b242108662f117c293a20b43210a8d2ccaf83a | |
parent | 43f4ccabf64b56da9650b1303962281c68bdcedc (diff) |
added SPREADAVR_PATH variable to all examples
-rw-r--r-- | ats-watch/Makefile | 5 |
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
|