aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMartin Oldfield <m@mjo.tc>2012-04-29 18:55:17 +0100
committerMartin Oldfield <m@mjo.tc>2012-04-29 18:55:17 +0100
commit79068828f101c7acee598b5e859ea00f25ef6c1c (patch)
treeadae6774208d13adbc9f531569f8333700e3e13f /examples
parent9c7f173c7b2b494b7ce38e313bfb2604e152f87a (diff)
Rejig path calculations.\nMove reset target to Perl.\n
Diffstat (limited to 'examples')
-rw-r--r--examples/AnalogInOutSerial/Makefile4
-rw-r--r--examples/Blink/Makefile6
-rw-r--r--examples/BlinkWithoutDelay/Makefile4
-rw-r--r--examples/Fade/Makefile4
-rw-r--r--examples/HelloWorld/Makefile4
-rw-r--r--examples/WebServer/Makefile6
-rw-r--r--examples/master_reader/Makefile4
-rw-r--r--examples/toneMelody/Makefile4
8 files changed, 2 insertions, 34 deletions
diff --git a/examples/AnalogInOutSerial/Makefile b/examples/AnalogInOutSerial/Makefile
index 5c8c1dd..eac50fb 100644
--- a/examples/AnalogInOutSerial/Makefile
+++ b/examples/AnalogInOutSerial/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS =
include ../../arduino-mk/Arduino.mk \ No newline at end of file
diff --git a/examples/Blink/Makefile b/examples/Blink/Makefile
index 12cd3e6..1c61004 100644
--- a/examples/Blink/Makefile
+++ b/examples/Blink/Makefile
@@ -1,10 +1,6 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS =
-include ../../arduino-mk/Arduino.mk
+include $(ARDMK_DIR)/arduino-mk/Arduino.mk
diff --git a/examples/BlinkWithoutDelay/Makefile b/examples/BlinkWithoutDelay/Makefile
index 5c8c1dd..eac50fb 100644
--- a/examples/BlinkWithoutDelay/Makefile
+++ b/examples/BlinkWithoutDelay/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS =
include ../../arduino-mk/Arduino.mk \ No newline at end of file
diff --git a/examples/Fade/Makefile b/examples/Fade/Makefile
index 5c8c1dd..eac50fb 100644
--- a/examples/Fade/Makefile
+++ b/examples/Fade/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS =
include ../../arduino-mk/Arduino.mk \ No newline at end of file
diff --git a/examples/HelloWorld/Makefile b/examples/HelloWorld/Makefile
index 591d575..6c71d22 100644
--- a/examples/HelloWorld/Makefile
+++ b/examples/HelloWorld/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS = LiquidCrystal
include ../../arduino-mk/Arduino.mk \ No newline at end of file
diff --git a/examples/WebServer/Makefile b/examples/WebServer/Makefile
index 56e422f..d361759 100644
--- a/examples/WebServer/Makefile
+++ b/examples/WebServer/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
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..f242a44 100644
--- a/examples/master_reader/Makefile
+++ b/examples/master_reader/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS = Wire Wire/utility
include ../../arduino-mk/Arduino.mk
diff --git a/examples/toneMelody/Makefile b/examples/toneMelody/Makefile
index 17d67e8..7ea0a9f 100644
--- a/examples/toneMelody/Makefile
+++ b/examples/toneMelody/Makefile
@@ -1,9 +1,5 @@
-ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
-PARSE_BOARD = ../../arduino-mk/ard-parse-boards
-
BOARD_TAG = uno
ARDUINO_PORT = /dev/cu.usb*
-
ARDUINO_LIBS =
include ../../arduino-mk/Arduino.mk