summaryrefslogtreecommitdiff
path: root/software/rhmixxx
diff options
context:
space:
mode:
Diffstat (limited to 'software/rhmixxx')
-rw-r--r--software/rhmixxx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/software/rhmixxx/Makefile b/software/rhmixxx/Makefile
index 47d5e30..6883376 100644
--- a/software/rhmixxx/Makefile
+++ b/software/rhmixxx/Makefile
@@ -24,8 +24,9 @@ BOARD_TYPE := rhmixxx
OBJ := $(NAME).o keypad.o eventqueue.o gpio.o analog.o
LIBS := util led lufa-descriptor-midi
EXTERNAL_LIBS := lufa
+SPREADAVR_PATH := ../../contrib/avr-utils
-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
@@ -40,4 +41,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"rhmixxx midi controller\"" -D USB_PRODUCT_LEN=23
LUFA_COMPONENTS := USB USBCLASS
-include ../include.mk
+include $(SPREADAVR_PATH)/include.mk