Browse Source

fixes for ramps compilation using installed arduino ide

Yuri Valentini 12 years ago
parent
commit
9c34c4f05b
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      Marlin/Makefile

+ 5
- 0
Marlin/Makefile View File

@@ -190,8 +190,13 @@ TARGET = $(notdir $(CURDIR))
190 190
 VPATH = .
191 191
 VPATH += $(BUILD_DIR)
192 192
 VPATH += $(HARDWARE_SRC)
193
+ifeq ($(HARDWARE_VARIANT), arduino)
194
+VPATH += $(ARDUINO_INSTALL_DIR)/libraries/LiquidCrystal
195
+VPATH += $(ARDUINO_INSTALL_DIR)/libraries/SPI
196
+else
193 197
 VPATH += $(HARDWARE_DIR)/libraries/LiquidCrystal
194 198
 VPATH += $(HARDWARE_DIR)/libraries/SPI
199
+endif
195 200
 ifeq ($(HARDWARE_VARIANT), arduino)
196 201
 HARDWARE_SUB_VARIANT ?= mega
197 202
 VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/variants/$(HARDWARE_SUB_VARIANT)

Loading…
Cancel
Save