/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: edam
  • Date: 2012-04-24 12:04:01 UTC
  • Revision ID: tim@ed.am-20120424120401-muow2u8yl0r0l33m
set version no. to 0.3

Show diffs side-by-side

added added

removed removed

2
2
#
3
3
#                         edam's Arduino makefile
4
4
#_______________________________________________________________________________
5
 
#                                                                 version 0.4dev
 
5
#                                                                    version 0.3
6
6
#
7
7
# Copyright (C) 2011, 1012 Tim Marston <tim@ed.am>.
8
8
#
280
280
 
281
281
target: $(TARGET).hex
282
282
 
283
 
upload: target
 
283
upload:
284
284
        @echo "\nUploading to board..."
285
285
        @test -n "$(SERIALDEV)" || { \
286
286
                echo "error: SERIALDEV could not be determined automatically." >&2; \
298
298
 
299
299
boards:
300
300
        @echo Available values for BOARD:
301
 
        @sed -nEe '/^#/d; /^[^.]+\.name=/p' $(BOARDS_FILE) | \
302
 
                sed -Ee 's/([^.]+)\.name=(.*)/\1            \2/' \
303
 
                        -e 's/(.{12}) *(.*)/\1 \2/'
 
301
        @sed -ne '/^#/d; /^[^.]\+\.name=/p' $(BOARDS_FILE) | \
 
302
                sed -e 's/\([^.]\+\)\.name=\(.*\)/\1            \2/' \
 
303
                        -e 's/\(.\{12\}\) *\(.*\)/\1 \2/'
304
304
 
305
305
monitor:
306
306
        @test -n "$(SERIALDEV)" || { \