From fcffe16bb66a824ab31a8234a835dbcb10f0db3b Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Mon, 2 Apr 2012 16:00:20 -0400 Subject: [PATCH] Let users define ARDUINO_DIR in their shell instead of the Makefile. --- examples/Blink/Makefile | 1 - examples/BlinkWithoutDelay/Makefile | 3 +-- examples/Fade/Makefile | 3 +-- examples/HelloWorld/Makefile | 3 +-- examples/WebServer/Makefile | 3 +-- examples/master_reader/Makefile | 1 - examples/toneMelody/Makefile | 1 - 7 files changed, 4 insertions(+), 11 deletions(-) diff --git a/examples/Blink/Makefile b/examples/Blink/Makefile index 12cd3e6..5b4e180 100644 --- a/examples/Blink/Makefile +++ b/examples/Blink/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno diff --git a/examples/BlinkWithoutDelay/Makefile b/examples/BlinkWithoutDelay/Makefile index 5c8c1dd..c6f4413 100644 --- a/examples/BlinkWithoutDelay/Makefile +++ b/examples/BlinkWithoutDelay/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno @@ -6,4 +5,4 @@ ARDUINO_PORT = /dev/cu.usb* ARDUINO_LIBS = -include ../../arduino-mk/Arduino.mk \ No newline at end of file +include ../../arduino-mk/Arduino.mk diff --git a/examples/Fade/Makefile b/examples/Fade/Makefile index 5c8c1dd..c6f4413 100644 --- a/examples/Fade/Makefile +++ b/examples/Fade/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno @@ -6,4 +5,4 @@ ARDUINO_PORT = /dev/cu.usb* ARDUINO_LIBS = -include ../../arduino-mk/Arduino.mk \ No newline at end of file +include ../../arduino-mk/Arduino.mk diff --git a/examples/HelloWorld/Makefile b/examples/HelloWorld/Makefile index 591d575..c172309 100644 --- a/examples/HelloWorld/Makefile +++ b/examples/HelloWorld/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno @@ -6,4 +5,4 @@ ARDUINO_PORT = /dev/cu.usb* ARDUINO_LIBS = LiquidCrystal -include ../../arduino-mk/Arduino.mk \ No newline at end of file +include ../../arduino-mk/Arduino.mk diff --git a/examples/WebServer/Makefile b/examples/WebServer/Makefile index 56e422f..ea982e7 100644 --- a/examples/WebServer/Makefile +++ b/examples/WebServer/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno @@ -6,4 +5,4 @@ ARDUINO_PORT = /dev/cu.usb* ARDUINO_LIBS = Ethernet Ethernet/utility SPI -include ../../arduino-mk/Arduino.mk \ No newline at end of file +include ../../arduino-mk/Arduino.mk diff --git a/examples/master_reader/Makefile b/examples/master_reader/Makefile index 7e744c1..7d5d9d2 100644 --- a/examples/master_reader/Makefile +++ b/examples/master_reader/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno diff --git a/examples/toneMelody/Makefile b/examples/toneMelody/Makefile index 17d67e8..c6f4413 100644 --- a/examples/toneMelody/Makefile +++ b/examples/toneMelody/Makefile @@ -1,4 +1,3 @@ -ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java PARSE_BOARD = ../../arduino-mk/ard-parse-boards BOARD_TAG = uno