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
 VPATH = .
190
 VPATH = .
191
 VPATH += $(BUILD_DIR)
191
 VPATH += $(BUILD_DIR)
192
 VPATH += $(HARDWARE_SRC)
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
 VPATH += $(HARDWARE_DIR)/libraries/LiquidCrystal
197
 VPATH += $(HARDWARE_DIR)/libraries/LiquidCrystal
194
 VPATH += $(HARDWARE_DIR)/libraries/SPI
198
 VPATH += $(HARDWARE_DIR)/libraries/SPI
199
+endif
195
 ifeq ($(HARDWARE_VARIANT), arduino)
200
 ifeq ($(HARDWARE_VARIANT), arduino)
196
 HARDWARE_SUB_VARIANT ?= mega
201
 HARDWARE_SUB_VARIANT ?= mega
197
 VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/variants/$(HARDWARE_SUB_VARIANT)
202
 VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/variants/$(HARDWARE_SUB_VARIANT)

Loading…
Cancel
Save