/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-02-16 15:00:41 UTC
  • Revision ID: tim@ed.am-20120216150041-u5sca5y8ic2giv39
bump version no.

Show diffs side-by-side

added added

removed removed

2
2
#
3
3
#                         edam's arduino makefile
4
4
#_______________________________________________________________________________
5
 
#                                                                    version 0.1
 
5
#                                                                    version 0.2
6
6
#
7
7
# Copyright (c) 2011 Tim Marston <tim@ed.am>.
8
8
#
272
272
        @test -n "$(SERIALDEV)" || { \
273
273
                echo "error: SERIALDEV could not be determined automatically." >&2; \
274
274
                exit 1; }
275
 
        @test 1 -eq $(SERIALDEVGUESS) && { \
 
275
        @test 0 -eq $(SERIALDEVGUESS) || { \
276
276
                echo "*GUESSING* at serial device:" $(SERIALDEV); \
277
277
                echo; }
278
278
        stty $(STTYFARG) $(SERIALDEV) hupcl
295
295
        @test -n `which screen` || { \
296
296
                echo "error: can't find GNU screen, you might need to install it." >&2 \
297
297
                ecit 1; }
298
 
        @test 1 -eq $(SERIALDEVGUESS) && { \
 
298
        @test 0 -eq $(SERIALDEVGUESS) || { \
299
299
                echo "*GUESSING* at serial device:" $(SERIALDEV); \
300
300
                echo; }
301
301
        screen $(SERIALDEV)